Part Number Hot Search : 
00100 PDTC114 RGP10KE 000X1 00100 DC110 CPOCZFL M6665C
Product Description
Full Text Search
 

To Download P87C770 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  d a t a sh eet product speci?cation supersedes data of 1999 may 17 file under integrated circuits, ic20 1999 jun 11 integrated circuits p8xcx70 family microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc)
1999 jun 11 2 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family contents 1 features 2 general description 3 ordering information 4 block diagram 5 pinning information 6 memory organization 7 i/o facility 8 watchdog timer (t3) 9 reduced power modes 10 i 2 c-bus serial i/o 11 interrupt system 12 oscillator circuitry 13 reset 14 pin function selection 15 7-bit pwm dac 16 aft inputs (adc) 17 data slicer and cc command interpreter 18 cc/osd display function 19 memory data bit allocation 20 programmer 21 limiting values 22 dc characteristics 23 ac characteristics 24 application information 25 release letter of errata 26 package outline 27 soldering 28 definitions 29 life support applications 30 purchase of philips i 2 c components
1999 jun 11 3 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 1 features fully static 80c51 cpu 64-kbyte programmable rom 1-kbyte ram on-chip 12 mhz crystal oscillator eight 7-bit pwm outputs for analog controls three input 4-bit software analog-to-digital converters (adc) power-on reset and watchdog timer 29 i/o lines via individual addressable controls eight port lines (port 2) with 10 ma led sink (<1 v) capability on-screen display (osd) and closed caption (cc) with v-chip function byte-level i 2 c-bus interface up to 400 khz three power reduction modes: standby, idle and power-down power supply: 5.0 v 10% operating temperature: - 20 to +70 c 52-pin shrink dual in-line package (sdip52). 2 general description the p8xcx70 family consists of the following devices: p83c270 p83c370 p83c570 p83c770 P87C770. the term p8xcx70 is used throughout this data sheet to refer to all family members; differences between devices are highlighted in the text. the p8xcx70 family of microcontrollers are 8-bit, 80c51-based microcontrollers specifically designed for the ntsc tv market. each device has an on-screen display, control functions and closed caption that extracts, decodes (software) and displays caption signals from ntsc tv signals. extended data service (xds) is via the software command interpreter and the v-chip is also implemented. 3 ordering information type number package rom ram name description version p83c270aar sdip52 plastic shrink dual in-line package; 52 leads (600 mil) sot247-1 24-kbyte 512-byte p83c370aar 32-kbyte 512-byte p83c570aar 48-kbyte 1-kbyte p83c770aar 64-kbyte 1-kbyte P87C770aar 64-kbyte (otp) 1-kbyte
1999 jun 11 4 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here in this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force land scape pages to be ... 4 block diagram b ook, full pagewidth mgr380 2 8-bit internal bus 8-bit watchdog timer (t3) rom 64-kbytes 9 7-bit dacs cc data slicer on-screen display (osd) p2 external interrupts 8 p0 8 p3 pwm0 to pwm8 (1) fb r g b vsync hsync v pp /ea reset ale/prog psen ram 1-kbyte 3 4-bit adcs two 16-bit timer/ counters (t0 and t1) v ssd v ssa v ddp v ddc v dda function combined parallel i/o ports parallel i/o port cpu 80c51 core excluding rom/ram xi xo refh cvbs i 2 c-bus interface sda (3) scl (3) iref blk stn 8 5 p1 aft0 (2) aft1 (2) aft2 (2) fig.1 block diagram. (1) alternative functions of port 0 except pwm0 which is an alternative function of port 1. (2) alternative functions of port 1. (3) alternative functions of port 3.
1999 jun 11 5 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 5 pinning information 5.1 pinning fig.2 pinning configuration. handbook, halfpage p83c270 p83c370 p83c570 p83c770 P87C770 mgr372 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 p0.0/pwm8 p0.1/pwm7 p0.2/pwm6 p0.3/pwm5 p0.4/pwm4 p0.5/pwm3 p0.6/pwm2 p0.7/pwm1 p1.0/aft0 p1.1/aft1 p1.2/aft2 p1.3/pwm0 v ssd p2.7 p2.6 p2.5 p2.4 p2.3 p2.2 p2.1 p2.0 v ssa cvbs stn blk iref p3.7 p3.6 p3.5/sda p3.4/scl p3.3/t1 p3.2/int0 p3.1/t0 p3.0/int1 v ddc reset xi xo v ssd v ddp v dda vsync hsync fb r g b refh p1.4 ale/prog v pp /ea psen
1999 jun 11 6 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 5.2 pin description table 1 sdip52 package symbol pin i/o description p0.0/pwm8 to p0.7/pwm1 1 to 8 i/o port 0 lines p0.0 to p0.7 (open-drain, bidirectional); alternative functions 7-bit pwm outputs. p1.0/aft0 9 i/o port 1 line p1.0; alternative function as 4-bit aft0 input. p1.1/aft1 10 i/o port 1 line p1.1; alternative function as 4-bit aft1 input. p1.2/aft2 11 i/o port 1 line p1.2; alternative function as 4-bit aft2 input. p1.3/pwm0 12 i/o port 1 i/o line p1.3 (open-drain, bidirectional); alternative function as 7-bit pwm0 output. v ssd 13 - ground line for digital circuits. p2.7 to p2.0 14 to 21 i/o port 2 lines p2.7 to p2.0 (open-drain, bidirectional). v ssa 22 - ground line for analog circuits. cvbs 23 i composite video input. stn 24 i data slicer decoupling capacitor input, connect to v ssa via a 100 nf capacitor. blk 25 i cvbs signal black level reference, connect to v ssa via a 100 nf capacitor. iref 26 i cvbs signal reference current input, connect to v ssa via a 27 k w resistor. psen 27 o program store enable (active low); bonded out for testing purpose only. v pp / ea 28 i external access (active low); bonded out for testing purpose only. this pin is also used for the 12.75 v programming voltage supply in otp programming modes. ale/ prog 29 i/o address latch enable; bonded out for testing purpose only. this pin is also used for programming pulses input in otp programming modes. p1.4 30 i/o port 1 line p1.4 (open-drain, bidirectional). refh 31 i data slicer reference high capacitor input, connect to v ssa via a 100 nf capacitor. b 32 o cc/osd blue colour current output. g 33 o cc/osd green colour current output. r 34 o cc/osd red colour current output. fb 35 o cc/osd fast blanking output. hsync 36 i tv horizontal sync input (for osd synchronization). vsync 37 i tv vertical sync input (for osd synchronization). v dda 38 - +5 v analog power supply. v ddp 39 - +5 v digital power supply for peripherals. v ssd 40 i ground line for digital circuits. xo 41 o system oscillator crystal output. xi 42 i system oscillator crystal input. reset 43 i reset input (active high). v ddc 44 - +5 v digital power supply for cpu core. p3.0/ int1 45 i/o port 3 line p3.0; alternative function as external interrupt 1 input. p3.1/t0 46 i/o port 3 line p3.1; alternative function as counter 0 input. p3.2/ int0 47 i/o port 3 line p3.2; alternative function as external interrupt 0 input. p3.3/t1 48 i/o port 3 line p3.3; alternative function as counter 1 input.
1999 jun 11 7 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family p3.4/scl 49 i/o port 3 line p3.4 (open-drain, bidirectional); alternative function as i 2 c-bus clock line (open-drain). p3.5/sda 50 i/o port 3 line p3.5 (open-drain, bidirectional); alternative function as i 2 c-bus data line (open-drain). p3.6 51 i/o port 3 line p3.6 (open-drain, bidirectional). p3.7 52 i/o port 3 line p3.7 (open-drain, bidirectional). symbol pin i/o description
1999 jun 11 8 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 6 memory organization the p8xcx70 family offers a choice of different ram and rom configurations; see ordering information. the device has no exter nal memory capability, consequently the rd (read) and wr (write) signals are not bonded out. ea (external access), psen (program store enable) and ale (address latch enable) are bonded out for testing purposes only. for the complete memory map of the p8xc770 family refer to the 80c51 architecture in data handbook ic20 . 6.1 sfr address map summary the sfrs are presented in ascending address order. table 2 sfr address map summary address register name 76543210 80h (1) p0 (latch) p07 p06 p05 p04 p03 p02 p01 p00 81h (1) stack pointer (sp) sp7 sp6 sp5 sp4 sp3 sp2 sp1 sp0 86h pwm0 (7-bit pwm) pwm0e data6 data5 data4 data3 data2 data1 data0 87h (1) power control register (pcon) --- wle gf1 gf0 pd idl 88h (1) timer/counter control register (tcon) tf1 tr1 tf0 tr0 ie1 it1 ie0 it0 89h (1) timer/counter mode control register (tmod) gate c/t m1 m0 gate c/t m1 m0 8ah (1) timer 0 low byte (tl0) tl07 tl06 tl05 tl04 tl03 tl02 tl01 tl00 8bh (1) timer 1 low byte (tl1) tl17 tl16 tl15 tl14 tl13 tl12 tl11 tl10 8ch (1) timer 0 high byte (th0) th07 th06 th05 th04 th03 th02 th01 th00 8dh (1) timer 1 high byte (th1) th17 th16 th15 th14 th13 th12 th11 th10 90h (1) p1 (latch) p17 p16 p15 p14 p13 p12 p11 p10 92h standby control register (stbcon) ------- stby 96h pwm1 (7-bit pwm) pwm1e data6 data5 data4 data3 data2 data1 data0 98h interrupt request register 1 (irq1) - rcc rbusy ----- a0h (1) p2 (latch) p27 p26 p25 p24 p23 p22 p21 p20 a6h pwm2 (7-bit pwm) pwm2e data6 data5 data4 data3 data2 data1 data0 a8h (1) interrupt enable register 0 (ien0) ea - es1 - et1 ex1 et0 ex0 b0h (1) p3 (latch) p37 p36 p35 p34 p33 p32 p31 p30 b6h pwm3 (7-bit pwm) pwm3e data6 data5 data4 data3 data2 data1 data0 b7h slice line register (sl) --- cs4 cs3 cs2 cs1 cs0 b8h (1) interrupt priority register 0 (ip0) -- ps1 - pt1 px1 pt0 px0 c6h pwm4 (7-bit pwm) pwm4e data6 data5 data4 data3 data2 data1 data0
1999 jun 11 9 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family notes 1. standard 80c51 registers. 2. read only registers. d0h (1) program status word (psw) cy ac f0 rs1 rs0 ov - p d6h pwm5 (7-bit pwm) pwm5e data6 data5 data4 data3 data2 data1 data0 d7h closed caption data 1 (ccdata1) d7 d6 d5 d4 d3 d2 d1 d0 d8h serial control register (s1con) cr2 ens1 sta sto si aa cr1 cr0 d9h (2) status register (s1sta) sc4 sc3 sc2 sc1 sc0 0 0 0 dah data shift register (s1dat) d7 d6 d5 d4 d3 d2 d1 d0 dbh slave address register (s1adr) sla6 sla5 sla4 sla3 sla2 sla1 sla0 gc e0h accumulator (acc) acc7 acc6 acc5 acc4 acc3 acc2 acc1 acc0 e6h pwm6 (7-bit pwm) pwm6e data6 data5 data4 data3 data2 data1 data0 e7h closed caption data 2 (ccdata2) d7 d6 d5 d4 d3 d2 d1 d0 e8h (1) interrupt enable register 1 (ien1) - ecc ebusy ----- eah aft control register (afcon) - afth1 afth0 aftl3 aftl2 aftl1 aftl0 aftc ebh busy interrupt and watchdog control register (bwc) ------ ew busy f0h (1) b register (b) b7 b6 b5 b4 b3 b2 b1 b0 f4h port 1 selection register (p1sel) --- i 2 ce - aft2e aft1e aft0e f5h pwm8(7-bit pwm) pwm8e data6 data5 data4 data3 data2 data1 data0 f6h pwm7(7-bit pwm) pwm7e data6 data5 data4 data3 data2 data1 data0 f8h interrupt priority register 1 (ip1) - pcc pbusy ----- ffh watchdog timer register (wdt) data7 data6 data5 data4 data3 data2 data1 data0 address register name 76543210
1999 jun 11 10 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 6.2 display control registers map the display control registers can only be addressed using movx instructions. table 3 display control register map address (hex) register name 76543210 87f0 display control src3 src2 src1 src0 flf msh mod1 mod0 87f1 text vertical position vpol hpol vol5 vol4 vol3 vol2 vol1 vol0 87f2 text horizontal position hop1 hop0 tas5 tas4 tas3 tas2 tas1 tas0 87f3 fringing control frc3 frc2 frc1 frc0 frdn frde frds frdw 87f4 text area end -- tae5 tae4 tae3 tae2 tae1 tae0 87f5 scroll area ssh3 ssh2 ssh1 ssh0 ssp3 ssp2 ssp1 ssp0 87f6 scroll range sps3 sps2 sps1 sps0 sts3 sts2 sts1 sts0 87f7 rgb brightness fbpol --- bri3 bri2 bri1 bri0 87f8 status (read) busy - field scrl scr3 scr2 scr1 scr0 status (write) - h/v scon scrl ---- 87fc hsync delay - hsd6 hsd5 hsd4 hsd3 hsd2 hsd1 hsd0 87fd odd/even align - oea6 oea5 oea4 oea3 oea2 oea1 oea0 87fe reserved -------- 87ff con?guration cc plus adj min ---- 7 i/o facility 7.1 i/o ports the p8xcx70 has 29 i/o lines treated as 29 individual addressable bits or as 4 parallel 8-bit addressable ports, e.g. ports 0, 1, 2 and 3, with the exception of port 1 which has only 5 lines available. 7.2 port type all i/o port pins are open-drain, bidirectional and require external pull-up resistors. no port options are available for masking. fig.3 open-drain i/o port. handbook, halfpage mgk547 n q from port latch input data read port pin input buffer i/o pin
1999 jun 11 11 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 8 watchdog timer (t3) in addition to the standard timers, an 8-bit watchdog timer is also incorporated. when a timer overflow occurs, the microcontroller is reset. to prevent a system reset the timer must be reloaded in time by the application software. if the processor suffers a hardware/software malfunction, the software will fail to reload the timer. this failure will result in a reset upon overflow thus preventing the processor running out of control. the timer is incremented every 2 ms. the timer interval between the timer reloading and the occurrence of a reset depends on the reloaded value. this may range from 2 to 512 ms according to the following formula: t timer 256 t3 value C () 2ms = the watchdog timer can only be reloaded if the condition flag wle in sfr pcon has been previously set high by software. at the moment the counter is loaded wle is automatically cleared. the watchdog timer is controlled by the ew bit in sfr bwc (see section 11.5). if ew = 1, the watchdog timer is enabled and the power-down mode disabled. if ew = 0, the watchdog timer is disabled and the power-down mode enabled. in the idle mode the watchdog timer and reset circuitry remain active. 8.1 watchdog timer register (wdt) table 4 watchdog timer register (sfr address ffh) table 5 description of the t3 bits 76543210 d7 d6 d5 d4 d3 d2 d1 d0 bit symbol description 7 to 0 d7 to d0 watchdog timer reload value. these 8 bits determine the timer interval. if wdt holds ffh the timer interval is 2 ms. if wdt holds 00h the timer interval is 512 ms. handbook, full pagewidth mgl298 internal bus 1/12 f osc prescaler 11-bit wdt register (8-bit) load clear loaden write t3 loaden pcon.4 pcon.0 clear wle idl internal reset internal bus reset r reset fig.4 watchdog timer block diagram.
1999 jun 11 12 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 9 reduced power modes in order to reduce power consumption three reduced power modes are available: standby, idle and power-down. 9.1 standby mode in standby mode full cpu functionality is available but all analog functions (including the osd) are disabled. power-on reset and the oscillator remain active. the following also remain active during standby mode. cpu external interrupts int0 and int1 t0, t1 and t3 i 2 c-bus interface pwm outputs. the standby mode is entered by setting the stby bit in the stbcon register to a logic 1. recovering from the standby mode is achieved by setting the stby bit back to a logic 0. after entering the normal mode a waiting time of 10 m s has to be taken into account in order to allow the analog circuitry to stabilize. 9.2 idle mode idle mode operation permits all functions to continue to work with the exception that the cpu clock is halted. the following functions remain active during idle mode: t0, t1 and t3 (watchdog timer) i 2 c-bus external interrupts. 9.2.1 e ntering i dle mode the instruction that sets the idl bit in the pcon register is the last instruction executed before entering idle mode. once in the idle mode the system oscillator keeps running but the internal clock is gated away from the cpu, but not gated away from the interrupts, timers and serial port functions. the cpu status is preserved along with the stack pointer, program counter, program status word and accumulator. the ram and all other registers maintain their data during idle mode. the port pins retain the logical states they were holding at idle mode activation. 9.2.2 r ecovering from i dle mode there are two methods used to terminate the idle mode. assertion of any enabled interrupt will cause the idl bit to be cleared by hardware, thus terminating the idle mode. the interrupt is serviced, and following the instruction reti, the next instruction to be executed will be the one following the instruction that put the device into the idle mode. flag bits gf0 and gf1 may be used to determine whether the interrupt was received during normal execution or during idle mode. for example, the instruction that writes to the idl bit can also set or clear one or both flag bits. when idle mode is terminated by an interrupt, the service routine can examine the status of the flag bits. the second method of terminating the idle mode is with an external hardware reset. since the oscillator is still running, the hardware reset is required to be active for only two machine cycles to complete the reset operation. reset redefines all sfrs, but does not affect the on-chip ram. 9.3 power-down mode the power-down operation freezes the oscillator and all on-chip operations stop. the power-down mode can only be entered if the ew bit in sfr bwc is low; then the power-down mode is entered by setting the pd bit in the pcon register to a logic 1. the instruction which sets the pd bit in pcon is the last instruction executed prior to going into the power-down mode. the contents of the on-chip ram and sfrs are preserved. the port pins output the values held by their respective sfrs. in the power-down mode v dd may be reduced to minimize power consumption. however, the supply voltage must not be reduced until power-down mode is active, and must be restored before the hardware reset is applied and frees the oscillator. an on-chip delay counter will count 2048 system oscillator cycles before enabling the internal clock. 9.3.1 w ake - up from p ower - down using external interrupts if either of the external interrupts int0 and int1 is switched to level-sensitive and enabled then the interrupt can be used to wake-up the p8xcx70 from the power-down mode. to ensure that the oscillator is stable before the controller restarts, the internal clock will remain inactive for 2048 system oscillator cycles. 9.3.2 w ake - up from p ower - down using reset the power-down mode can be terminated by holding the reset pin high for two machine cycles, this clears the pd bit. the on-chip delay counter will count 2048 system oscillator cycles before enabling the internal clock.
1999 jun 11 13 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 9.4 control registers 9.4.1 s tandby c ontrol r egister (stbcon) table 6 standby control register (sfr address 92h) table 7 description of stbcon bits 9.4.2 p ower c ontrol r egister (pcon) idle and power-down modes are activated by software via the special function register pcon. table 8 power control register (sfr address 87h) table 9 description of pcon bits 76543210 ------- stby bit symbol description 7to1 - these 7-bits are reserved. 0 stby standby mode selection. when stby = 1, the device enters standby mode. 76543210 --- wle gf1 gf0 pd idl bit symbol description 7to5 - these 3 bits are reserved. 4 wle watchdog load enable. if wle = 1, the watchdog timer can be loaded. if wle = 0, the watchdog timer cannot be loaded. 3 gf1 general purpose ?ag 1. 2 gf0 general purpose ?ag 0. 1pd power-down mode selection. if pd = 1, the power-down mode is entered (provided that the ew bit in sfr bwc is low). 0 idl idle mode selection. if idl = 1, the idle mode is entered. if idl = 0, the idle mode is inhibited, i.e.normal operation.
1999 jun 11 14 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family fig.5 idle and power-down circuit. handbook, full pagewidth mgl595 oscillator clock generator interrupts serial ports timer blocks cc cpu idl pd xi xo p8xcx70 family
1999 jun 11 15 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 10 i 2 c-bus serial i/o 10.1 the i 2 c-bus this serial port supports the twin line i 2 c-bus. the i 2 c-bus consists of a serial data line (sda) and a serial clock line (scl). these lines also function as i/o port lines p3.5 and p3.4 respectively. the system is unique because data transport, clock generation, address recognition and bus control arbitration are all controlled by hardware. full details of the i 2 c-bus are given in the document the i 2 c-bus and how to use it . this document may be ordered using the code 9398 393 40011. 10.2 operation modes the i 2 c-bus serial i/o has complete autonomy in byte handling and operates in four modes. master transmitter master receiver slave transmitter slave receiver. these functions are controlled by the s1con register. s1sta is the status register whose contents may also be used as a vector to various service routines. s1dat is the data shift register and s1adr the slave address register. slave address recognition is performed by hardware. fig.6 block diagram of the i 2 c-bus serial i/o. handbook, full pagewidth mbc749 - 1 slave address s1adr gc shift register s1dat sda arbitration logic scl bus clock generator s1sta internal bus 76543210 s1con 76543210
1999 jun 11 16 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 10.3 serial control register (s1con) table 10 serial control register (sfr address d8h) table 11 description of s1con bits 76543210 cr2 ens1 sta sto si aa cr1 cr0 bit symbol description 6 ens1 enable serial i/o. when ens1 = 0, the sio is disabled and reset. the sda and scl outputs are in a high-impedance state; p3.4 and p3.5 function as open-drain ports. when ens1 = 1, the sio is enabled. the p3.4 and p3.5 port latches must be set to logic 1. 5 sta start ?ag. when the sta bit is set in slave mode, the sio hardware checks the status of the i 2 c-bus and generates a start condition if the bus is free. if sta is set while the sio is in master mode, sio transmits a repeated start condition. 4sto stop ?ag. with this bit set while in master mode a stop condition is generated. when a stop condition is detected on the bus, the sio hardware clears the sto ?ag. in the slave mode, the sto ?ag may also be set to recover from an error condition. in this case, no stop condition is transmitted to the i 2 c-bus interface. however, the sio hardware behaves as if a stop condition has been received and releases sda and scl. the sio then switches to the not addressed slave receiver mode. the sto ?ag is automatically cleared by hardware. 3si sio interrupt ?ag. when the si ?ag is set, an acknowledge is returned after any one of the following conditions: a start condition is generated in master mode own slave address received during aa = 1 general call address received while s1adr.0 = 1 and aa = 1 data byte received or transmitted in master mode (even if arbitration is lost) data byte received or transmitted as selected slave stop or start condition received as selected slave receiver or transmitter. 2aa assert acknowledge. when the aa ?ag is set, an acknowledge (low level to sda) will be returned during the acknowledge clock pulse on the scl line when: own slave address is received general call address is received (s1adr.0 = 1) data byte received while device is programmed as a master receiver data byte received while device is a selected slave receiver. with aa = 0, no acknowledge will be returned. consequently, no interrupt is requested when the own slave address or general call address is received. 7 cr2 clock rate selection. these three bits determine the serial clock frequency when sio is in master mode; see table 12. the maximum i 2 c-bus frequency is 400 khz. 1 cr1 0 cr0
1999 jun 11 17 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family table 12 selection of scl frequency in master mode 10.4 status register (s1sta) s1sta is an 8-bit read-only special function register. the contents of s1sta may be used as a vector to a service routine. this optimizes response time of the software and consequently that of the i 2 c-bus. the status codes for all possible modes of the i 2 c-bus interface are given in table 16. the abbreviations used in table 16 are defined in table 15. table 13 status register (sfr address d9h) table 14 description of s1sta bits table 15 abbreviations used in table 16 cr2 cr1 cr0 f osc divisor bit rate (khz) at f osc = 12 mhz 0 0 0 60 200 0 0 1 1600 7.5 0 1 0 40 300 0 1 1 30 400 1 0 0 240 50 1 0 1 3200 3.75 1 1 0 160 75 1 1 1 120 100 76543210 sc4 sc3 sc2 sc1 sc0 0 0 0 bit symbol description 7 to 3 sc4 to sc0 5-bit status code; see table 16. 2to0 - these 3 bits are held low. symbol description sla 7-bit slave address r read bit w write bit ack acknowledgment (acknowledge bit = 0) ack not acknowledge (acknowledge bit = 1) data 8-bit byte to or from the i 2 c-bus mst master slv slave trx transmitter rec receiver
1999 jun 11 18 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family table 16 status codes s1sta value description mst/trx mode 08h a start condition has been transmitted 10h a repeated start condition has been transmitted 18h sla and w have been transmitted; ack received 20h sla and w have been transmitted; ack received 28h data of s1dat has been transmitted; ack received 30h data of s1dat has been transmitted; ack received 38h arbitration lost in sla, r/w or data mst/rec mode 38h arbitration lost while returning ack 40h sla and r have been transmitted; ack received 48h sla and r have been transmitted; ack received 50h data has been received; ack returned 58h data has been received; ack returned slv/rec mode 60h own sla and w have been received; ack returned 68h arbitration lost in sla, r/w as mst; own sla and w have been received; ack returned 70h general call has been received; ack returned 78h arbitration lost in sla, r/w as mst; general call has been received 80h previously addressed with own sla; data byte received; ack returned 88h previously addressed with own sla; data byte received; ack returned 90h previously addressed with general call; data byte has been received; ack returned 98h previously addressed with general call; data byte has been received; ack returned a0h a stop condition or repeated start condition has been received while still addressed as slv/rec or slv/trx slv/trx mode a8h own sla and r have been received. ack returned b0h arbitration lost in sla, r/w as mst; own sla and r have been received; ack returned b8h data byte has been transmitted; ack received c0h data byte has been transmitted; ack received c8h last data byte has been transmitted (aa = logic 0) ack received miscellaneous 00h bus error during mst mode or slv mode, due to an erroneous start or stop condition
1999 jun 11 19 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 10.5 data shift register (s1dat) this register contains the serial data to be transmitted or data has just been received. bit 7 is transmitted or received first. table 17 data shift register (dah) 10.6 slave address register (s1adr) this 8-bit register may be loaded with the 7-bit slave address to which the controller will respond when programmed as slave receiver/transmitter. the lsb bit (gc) is used to determine whether the general call address is recognized. table 18 slave address register (sfr address dbh) table 19 description of s1adr bits 76543210 d7 d6 d5 d4 d3 d2 d1 d0 76543210 sla6 sla5 sla4 sla3 sla2 sla1 sla0 gc bit symbol description 7 to 1 sla<6-0> own slave address 0 gc if gc = 0, the general call address is not recognized. if gc = 1, the general call address is recognized.
1999 jun 11 20 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 11 interrupt system the p8xcx70 has seven interrupt sources, each of which can be assigned one of two priority levels as shown in fig.7. the four interrupt sources common to the 80c51 are the external interrupts ( int0 and int1) and the timer 0 and timer 1 interrupts. the sio1 (i 2 c-bus) interrupt is generated by the s1 flag in the serial control register (s1con). this flag is set when sfr s1sta is loaded with a valid status code. the cc interrupt is generated by the rcc flag in sfr irq1; this flag is set at the end of the selected cvbs slice line. the busy interrupt is generated by the rbusy flag which also resides in sfr irq1 and is set by the osd. 11.1 how interrupts are handled the interrupt flags are sampled at s5p2 of every machine cycle. the samples are polled during the following machine cycle. if one of the flags was in a set condition at s5p2 of the preceding cycle, the polling cycle will find it and the interrupt system will generate a lcall to the appropriate service routine, provided that lcall is not blocked by any of the following conditions: 1. an interrupt of equal priority or higher priority level is already in progress. 2. the current machine cycle is not the final cycle in the execution of the instruction in progress (no interrupt request will be serviced until the instruction in progress is completed). 3. the instruction in progress is reti or any access to the interrupt priority or interrupt enable registers (no interrupt will be serviced after reti or after a read or write to ip0, ip1, ien0 or ien1 until at least one other instruction has been subsequently executed). the polling cycle is repeated with each machine cycle, and the values polled are the values that were present at s5p2 of the previous machine cycle. note that if an interrupt flag is active but not being responded to for one of the above mentioned conditions, if the flag is still inactive when the blocking condition is removed, the denied interrupt will not be serviced. in other words, the fact that the interrupt flag was once active but not serviced is not remembered. every polling cycle is new. note that if an interrupt of higher priority level becomes active prior to s5p2 of the machine cycle labelled c3, then in accordance with the rules it will be vectored to during c5 and c6, without any instruction of the lower priority routine having been executed. thus the processor acknowledges an interrupt request by executing a hardware generated lcall to the appropriate servicing routine. the hardware generated lcall pushes the contents of the program counter on to the stack (but does not save the psw) and reloads the pc with an address that depends on the source of the interrupt; see table 20. execution proceeds from that location until the reti instruction is encountered. the reti instruction informs the processor that the interrupt routine is no longer in progress, then pops the top two bytes from the stack and reloads the program counter. execution of the interrupted program continues from where it left off. note that a simple ret instruction would also return execution to the interrupted program, but it would have left the interrupt control system thinking an interrupt was still in progress, making future interrupts impossible. table 20 interrupt vectors additional details on the interrupt operation are given in data handbook ic20, 80c51-based 8-bit microcontrollers . source vector address int0 0003h i 2 c-bus 002bh timer 0 000bh int1 0013h busy 0063h timer 1 001bh cc 006bh
1999 jun 11 21 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family fig.7 the interrupt structure. handbook, full pagewidth interrupt sources priority global enable px0 s1 t0 px1 busy t1 cc ien0/1 registers ip0/1 registers high low interrupt polling sequence mgr378
1999 jun 11 22 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 11.2 interrupt enable structure each interrupt source can be individually enabled or disabled by setting or clearing its associated bit in the interrupt enable registers (ien0 and ien1). all interrupt sources can also be globally disabled by clearing the ea bit in sfr ien0. the interrupt enable registers are described in sections 11.2.1 and 11.2.2. 11.2.1 i nterrupt e nable r egister 0 (ien0) table 21 interrupt enable register 0 (sfr address a8h) table 22 description of the ien0 bits 11.2.2 i nterrupt e nable register 1 (ien1) table 23 interrupt enable register 1 (sfr address e8h) table 24 description of the ien1 bits 76543210 ea - es1 - et1 ex1 et0 ex0 bit symbol description 7ea general enable/disable control. when ea = 0, no interrupt is enabled. when ea = 1, any individually enabled interrupt will be accepted. 6 - this bit is not used; program to a logic 0 for future compatibility reasons. 5 es1 enable i 2 c-bus sio interrupt. 4 - this bit is not used; program to a logic 0 for future compatibility reasons. 3 et1 enable timer 1 interrupt. 2 ex1 enable external interrupt 1. 1 et0 enable timer 0 interrupt. 0 ex0 enable external interrupt 0. 76543210 - ecc ebusy ----- bit symbol description 7 - this bit is not used; program to a logic 0 for future compatibility reasons. 6 ecc enable external interrupt 8 (cc data ready). 5 ebusy enable external interrupt 7 ( busy interrupt). 4to0 - these 5 bits are not used; program to logic 0s for future compatibility reasons.
1999 jun 11 23 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 11.3 interrupt priority structure each interrupt source can be assigned one of two priority levels. interrupt priority levels are defined by the interrupt priority registers (ip0 and ip1). these registers are described in sections 11.3.1 and 11.3.2. a low priority interrupt may be interrupted by a high priority interrupt level interrupt. a high priority interrupt routine cannot be interrupted by any other interrupt source. if two interrupts of different priority occur simultaneously, the high priority level request is serviced. if requests of the same priority are received simultaneously, an internal polling sequence determines which request is serviced. thus, within each priority level, there is a second priority structure determined by the polling sequence. this second priority structure is shown in table 25. table 25 interrupt priority note 1. the priority within level structure is only used to resolve simultaneous requests of the same priority level. source priority within level (1) int0 highest i 2 c-bus timer 0 int1 busy timer 1 cc lowest 11.3.1 i nterrupt p riority r egister 0 (ip0) table 26 interrupt priority register 0 (sfr address b8h) table 27 description of ip0 bits note 1. where: logic 0 = low priority; logic 1 = high priority. 76543210 -- ps1 - pt1 px1 pt0 px0 bit (1) symbol description 7to6 - this bit is not used, program to a logic 0 for future compatibility reasons. 5 ps1 i 2 c-bus sio interrupt priority level. 4 - this bit is not used, program to a logic 0 for future compatibility reasons. 3 pt1 timer 1 interrupt priority level. 2 px1 external interrupt 1 priority level. 1 pt0 timer 0 interrupt priority level. 0 px0 external interrupt 0 priority level.
1999 jun 11 24 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 11.3.2 i nterrupt p riority r egister 1 (ip1) table 28 interrupt priority register 1 (sfr address f8h) table 29 description of the ip1 bits 11.4 interrupt request register 1 (irq1) an interrupt request from the closed caption data slicer or from the osd will be flagged by setting the related bit in the interrupt request register 1 to a logic 1. these bits must be reset to logic 0s by software. table 30 interrupt request register 1 (sfr address 98h) table 31 description of irq1 bits 76543210 - pcc pbusy ----- bit symbol description 7 - this bit is not used, program to a logic 0 for future compatibility reasons. 6 pcc cc interrupt priority level, ?xed to a logic 1. 5 pbusy busy interrupt 7 priority level, ?xed to a logic 1. 4to0 - these 5 bits are not used, program to logic 0s for future compatibility reasons. 76543210 - rcc rbusy ----- bit symbol description 7 - this bit is not used, program to a logic 0 for future compatibility reasons. 6 rcc request for cc interrupt, active high. 5 rbusy request for busy interrupt, active high. 4to0 - these 5 bits are not used, program to logic 0s for future compatibility reasons.
1999 jun 11 25 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 11.5 busy interrupt and watchdog timer control 11.5.1 busy interrupt and w atchdog c ontrol r egister (bwc) the busy signal can generate an interrupt (px7) to the cpu if enabled by ien1.5, the vector address is 0063h. this register is used to enable/disable the busy interrupt and the watchdog timer. table 32 busy interrupt and watchdog control register (sfr address ebh) table 33 description of the bwc bits 11.5.2 i nterrupt r equest (rbusy) rbusy is bit 5 of the sfr irq1 (address 98h). a falling edge of the active busy signal generates a pending interrupt to the cpu and forces the rbusy bit high. in the service routine, this bit should be cleared before returning to the main routine. as long as rbusy is high, a pending interrupt is always present. each time busy is activated by a falling edge, the rbusy is set high. if the interrupt is not served by the next falling busy edge, then rbusy is written to high again and no error of overrun is indicated. 76543210 ------ ew busy bit symbol description 7to2 - these 6 bits are not used. 1ew enable watchdog timer. if ew = 0, then the watchdog timer is disabled. if ew = 1, then the watchdog timer is enabled and the power-down mode is disabled. 0 busy when busy = 0, an active external interrupt will generate an interrupt to the cpu. when busy = 1, external interrupts are disabled. it is not recommended to update the display ram when the busy signal is active (low), due to the effect it may have on the osd display. the display ram can be updated when the busy signal is inactive.
1999 jun 11 26 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 12 oscillator circuitry the on-chip oscillator circuitry of the p8xcx70 is a single-stage inverting amplifier biased by an internal feedback resistor. for operation as a standard quartz oscillator or when using an external ceramic resonator, external components are needed and should be connected as shown in fig.8. in the power-down mode the oscillator is stopped and both xi and xo are pulled high. the inverting amplifier and feedback resistor are both switched off to ensure no current will flow regardless of the voltages at xi and xo. to drive the device with an external clock source, apply the external clock signal to xi, and leave xo to float. there is no requirement on the duty cycle of the external clock, because the external clock is divided-by-two using a flip-flop before feeding the internal clocking circuitry. the operating frequency of crystal oscillator is fixed at 12 mhz. 13 reset there are three ways to invoke a reset and initialize the p8xcx70: via the external reset pin via the on-chip power-on reset circuitry via a watchdog timer overflow. fig.8 oscillator configuration. for quartz crystal or ceramic resonator. handbook, halfpage mbe311 xi xo the reset mechanism is illustrated in fig.9. each reset source will cause the internal reset signal poc to become active. the cpu responds by executing an internal reset putting the internal registers into a defined state as detailed in table 34. 13.1 external reset the reset pin reset is connected to a schmitt trigger for noise reduction (see fig.9). a reset is accomplished by holding the reset pin high for at least 2 machine cycles (24 system clocks), while the oscillator is running. if the reset pin is connected to v dd via a capacitor as shown in fig.9, an automatic reset can be obtained by switching on v dd , the v dd rise time must not exceed 10 ms and the capacitor should be at least 10 m f. the decrease of the reset pin voltage depends on the capacitor and the internal resistor r reset . the voltage must remain above the lower threshold level for a minimum period determined by the oscillator start-up time plus 2 machine cycles. for the p8xcx70 an external capacitor value of 10 m f is needed. 13.2 power-on reset an on-chip power-on reset circuit detects supply voltage variations and generates a power-on reset pulse accordingly; see fig.10. in the case of supply voltage ramp-up, the power-on reset signal follows the ramp-up of the supply voltage. when the trip level (v t ) is reached, the power-on reset signal will be maintained for a time period (t p ) before reverting back to its low state. in the case of supply voltage drop, after the trip level (v t ) is reached, the power-on reset signal will respond within t r . the internal reset will remain active until t p after the v t has been exceeded. the time interval (t p ) is used to guarantee a complete power-on reset pulse so that this signal can trigger the internal reset signal. however, to ensure the oscillator is stable before the controller starts, the clock is gated away from the cpu for a further 2048 oscillator cycles. 13.3 watchdog timer over?ow the length of the output pulse from t3 is 3 machine cycles. a pulse of such short duration is necessary in order to recover from a processor or system fault as fast as possible.
1999 jun 11 27 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family fig.9 on-chip reset configuration. handbook, full pagewidth mbk878 schmitt trigger reset circuitry overflow watchdog timer power-on-reset rstout 10 m f v dd on-chip circuit reset poc r reset 8 k w fig.10 power-on reset switching level. handbook, full pagewidth mgr379 2048 clocks start-up 2048 clocks t p t p supply voltage power-on- reset oscillator cpu running v t d v t
1999 jun 11 28 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family table 34 the reset value of the sfrs sfr addr register content (1) 80h p0 1111 1111 81h sp 0000 0111 86h pwm0 0000 0000 87h pcon 0000 0000 88h tcon 0000 0000 89h tmod 0000 0000 8ah tl0 0000 0000 8bh tl1 0000 0000 8ch th0 0000 0000 8dh th1 0000 0000 90h p1 xxx 11111 92h stbcon xxxx xxx 0 96h pwm1 0000 0000 98h irq1 x 00 x xxxx a0h p2 1111 1111 a6h pwm2 0000 0000 a8h ien0 0000 0000 b0h p3 1111 1111 b6h pwm3 0000 0000 b7h sl xxx 1 0101 b8h ip0 xx 0 x 0000 c6h pwm4 0000 0000 d0h psw 0000 0000 d6h pwm5 0000 0000 d7h ccdata1 0000 0000 note 1. x = undefined. the internal ram is not affected by reset. d8h s1con x 000 0000 d9h sista 1111 1000 dah s1dat 0000 0000 dbh s1adr 0000 0000 e0h acc 0000 0000 e6h pwm6 0000 0000 e7h ccdata2 0000 0000 e8h ien1 0110 0000 eah afcon x000 000x ebh bwc xxxx xx 1 x f0h b 0000 0000 f4h p1sel xxx 0 x 000 f5h pwm8 0000 0000 f6h pwm7 0000 0000 f8h ip1 0000 0000 ffh t3 0000 0000 87f0h dcr 0000 0000 87f1h tvpr 0000 0000 87f2h thpr 0000 0000 87f3h fcr 0000 0000 87f4h taer 0000 0000 87f5h ssacr 0000 0000 87f6h srrr 0000 0000 sfr addr register content (1)
1999 jun 11 29 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 14 pin function selection ports 0, 1 and 3 are dual purpose ports and can be configured as port lines or selected as alternative functions. selection of the pin as a port line or alternative function is achieved using the appropriate sfr as described in sections 14.1, 14.2.1 and 14.3. 14.1 port 0 pin function selection port 0 is an 8-bit port which can be configured as eight bidirectional port lines (p0.0 to p0.7) or as eight 7-bit pwm outputs (pwm1 to pwm8). each 7-bit pwm output can be selected by setting the pwmne bit in its associated pwmn register to a logic 1 (see section 15.1). when using these pins as pwm outputs, the system software needs to keep track of its i/o status and avoid reading from these ports. when using these pins as general i/o port lines (pwmne = 0), writing is done to the p0 latch and reading at either the p0 latch or the port pins. no special control is required for this selection. 14.2 port 1, p3.4 and p3.5 pin function selection port 1 is a 4-bit port which can be configured as four bidirectional port lines (p1.0 to p1.3) or as three aft inputs (aft0 to aft2) and one 7-bit pwm output (pwm0). the aft inputs are selected using the port 1 selection register (p1sel) as described in section 14.2.1. this register also selects the i 2 c-bus functions of p3.4 and p3.5. the pwm function of the p1.3/pwm0 pin is enabled by setting the pwm0e bit in sfr pwm0 to a logic 1. 14.2.1 p ort 1s election r egister (p1sel) table 35 port 1 selection register (sfr address f4h) table 36 description of p1sel bits 76543210 --- i 2 ce - aft2e aft1e aft0e bit symbol description 7 - these 3 bits are reserved. 6 - 5 - 4i 2 ce when i 2 ce = 1, pins 49 and 50 are enabled as alternative functions scl and sda respectively. when i 2 ce = 0, pins 49 and 50 are enabled as general i/o port lines p3.4 and p3.5 respectively. 3 - this bit is not used. 2 aft2e when aft2e = 1, pin 11 is selected as aft2 input. when aft2e = 0, pin 11 is selected as general i/o port line p1.2. 1 aft1e when aft1e = 1, pin 10 is selected as aft1 input. when aft1e = 0, pin 10 is selected as general i/o port line p1.1. 0 aft0e when aft0e = 1, pin 9 is selected as aft0 input. when aft0e = 0, pin 9 is selected as general i/o port line p1.0.
1999 jun 11 30 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 14.3 port 3 pin function selection port 3 is an 8-bit port which can be configured as eight bidirectional port lines (p3.0 to p3.7) or as two external interrupts ( int0 and int1), two timer/counter inputs (t0 and t1) and the two i 2 c-bus lines (sda and scl). port lines p3.6 and p3.7 have no alternative functions. to configure these pins as alternative functions, the corresponding bit in the port 3 latch (p3) should be programmed to a logic 1 and the corresponding bit in sfr ien0 also set to a logic 1. 14.3.1 p ort 3l atch (p3) table 37 port 3 latch (sfr address b0h) table 38 description of p3 bits 76543210 p37 p36 p35 p34 p33 p32 p31 p30 bit symbol description 7 p37 no alternative function available. 6 p36 5 p35 when p35 = 1, pin 50 is used as sda if the i 2 ce bit in sfr p1sel is a logic 1. otherwise pin 50 is general i/o port line p3.5. 4 p34 when p34 = 1, pin 49 is used as sdl if the i 2 ce bit in sfr p1sel is a logic 1. otherwise pin 49 is general i/o port line p3.4. 3 p33 when p33 = 1, pin 48 is used as timer 1 input if the et1 bit in sfr ien0 is a logic 1. otherwise pin 48 is general i/o port line p3.3. 2 p32 when p32 = 1, pin 47 is used as external interrupt int0 if the ex0 bit in sfr ien0 is a logic 1. otherwise pin 47 is general i/o port line p3.2. 1 p31 when p31 = 1, pin 46 is used as timer 0 input if the et0 bit in sfr ien0 is a logic 1. otherwise pin 46 is general i/o port line p3.1. 0 p30 when p30 = 1, pin 45 is used as external interrupt int1 if the ex1 bit in sfr ien0 is a logic 1. otherwise pin 45 is general i/o port line p3.0.
1999 jun 11 31 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 15 7-bit pwm dac the p8xcx70 has nine pwm dac outputs (pwm0 to pwm8) for analog control e.g. volume, balance, bass, treble, brightness, contrast, sharpness, hue and saturation. each pwm output generates a pulse pattern with a repetition rate of 1 128 f pwm . the analog value is determined by the ratio of the high-time and the repetition time. a dc voltage proportional to the pwm control setting is obtained by means of an external integration network (low-pass filter). the polarity of each pwm output is fixed to active high. the high-time of a pwmn output (within one pwm cycle time) may be calculated as shown in equation (1). (1) where pwmn is the contents of pwmn data latch; t 0 = 1/f pwm and f pwm = 1 4 f xtal . 15.1 sfrs for pwm output control the alternative pwm functions of port 0 pins are enabled by writing a logic 1 to the pwmne bit of the associated special function register. when setting the pwmne bit to a logic 0, the associated pin becomes a general i/o port line. table 39 sfr data registers for the 7-bit pwms register address 76543210 pwm0 86h pwm0e data6 data5 data4 data3 data2 data1 data0 pwm1 96h pwm1e data6 data5 data4 data3 data2 data1 data0 pwm2 a6h pwm2e data6 data5 data4 data3 data2 data1 data0 pwm3 b6h pwm3e data6 data5 data4 data3 data2 data1 data0 pwm4 c6h pwm4e data6 data5 data4 data3 data2 data1 data0 pwm5 d6h pwm5e data6 data5 data4 data3 data2 data1 data0 pwm6 e6h pwm6e data6 data5 data4 data3 data2 data1 data0 pwm7 f6h pwm7e data6 data5 data4 data3 data2 data1 data0 pwm8 f5h pwm8e data6 data5 data4 data3 data2 data1 data0 t high pwmn t 0 =
1999 jun 11 32 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 16 aft inputs (adc) the p8xcx70 has 3 adc channels each with 4-bit resolution. one channel is intended to measure the level of the key pad signals. this is achieved by comparing the aft signal with the output of a 4-bit dac. the compare time of the aft is not greater than 8 m s at 12 mhz. adding nop instructions is recommended in between the instructions which change the reference voltage or channel and the instructions which read the aftc register bit. ensure that pins 9, 10 and 11 are configured as aft functions before use (see chapter 14). the conversion time (t afc ) of an aft (4-bit output) is calculated as shown below. where: t afc t cpu 8 + () 4 m s = t cpu number of instructions to program 4-bit dac () instruction cycle time () = fig.11 aft block diagram. handbook, full pagewidth 4-bit dac comparator aftl3 aftl2 aftl1 aftl0 afth0 afth1 aft2e aft1e aft0e mgl596 aft channel selector p1.2/aft2 p1.1/aft1 p1.0/aft0 v ref en derivative port selector en1 en2 aftc internal bus internal bus channel selection (sfr address eah) en0 aft function enable (sfr address f4h) (sfr address eah) (sfr address eah) 3
1999 jun 11 33 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 16.1 aft control register (afcon) table 40 aft control register (sfr address eah) table 41 description of afcon bits table 42 selection of aft channel 76543210 - afth1 afth0 aftl3 aftl2 aftl1 aftl0 aftc bit symbol description 7 - reserved. 6 afth1 aft channel selection. these two bits are used to select the aft channel; see table 42. 5 afth0 4 aftl3 aft reference voltage level selection. these four bits are used to select the analog output voltage (v ref ) of the 4-bit dac. v ref is calculated as shown in the equation below: 3 aftl2 2 aftl1 1 aftl0 0 aftc aft compare result. if aftc = 0; the aft input voltage is lower than the reference voltage. if aftc = 1; the afc input voltage is higher than the reference voltage. afth1 afth0 channel selected 0 0 aft0 0 1 aft1 1 0 aft2 1 1 illegal code v ref v dd 16 ---------- dac value 1 + () =
1999 jun 11 34 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 17 data slicer and cc command interpreter the p8xcx70 family contains a data slicer which slices closed caption data from the cvbs signal. the slice line is programmable between lines 17 to 23. cc command interpretation has to be done by a command interpreter which is a relocatable software module. it interprets the 2 bytes that have been sliced off the selected cvbs line and prepares the display ram in the osd block for proper closed caption and osd display function. the composite data signal contained within the active portion of the cvbs line consists of a 7 cycle sine-wave clock run-in burst, 3 start bits and 16 bits of data. these 16 bits consist of two 8-bit alphanumeric characters formulated according to the american standard code for information interchange (ascii; x3.4-1967) with odd parity. the clock rate is 0.5035 mhz which is 32f h (horizontal frequency). the clock run-in burst data packet is 50 ire units (peak-to-peak). data is sent with the lsb (bit d0) being sent first and the msb (bit d7, the parity bit) sent last. figure 13 illustrates cvbs timing. 17.1 data slicer the composite video baseband signal input should be a signal which is nominally 1 v (p-p) with sync tips negative and band limited to 3% of the standard frequency. the data slicer consists of: 7-bit adc which converts the analog cvbs signal into digital data for extraction sync separator and bit clock recovery data detector, which extracts the serial stream of bits from the video signal byte extractor, which performs serial-to-parallel conversion. 17.1.1 a nalog - to -d igital c onverter a 7-bit adc generates a clean cmos level data signal by slicing the analog cvbs signal using a 6 mhz clock. the adc error is 1 2 lsb across the full range (2 v (p-p) ). 17.1.2 s ync separation and acquisition timing this block contains an acquisition phase-locked loop which locks onto the incoming video line syncs, with a frequency error of 3% for a varying frequency error and a wide locking range, such as a vcr. it also provides a line rate ramp, from which the line based timing signals for the data detection section may be decoded. 17.1.3 d ata d etector the data detector consists of a low-pass filter which screens out signals above 1 mhz (mainly noise); a dc-loop, which removes dc offset and low frequency interference and adjusts the slice level continuously; an amplitude estimator, which provides the dc-loop with an estimation of signal strength to enable an accurate adaptive slicing level to be calculated and also aids in the detection of signal loss or absence of closed caption data and a clock synchronizer, which provides accurate centre-on-the-incoming data bits clock to the byte extractor. 17.1.4 b yte extractor the byte extractor extracts data bytes from the sliced bit stream using the clock provided by the data detector block, performs serial-to-parallel conversion, then feeds the 2 data bytes to a pair of registers (ccdata1 and ccdata2) which hold the 2 data bytes for cc command interpretation. at the end of the selected cvbs line the byte extractor will issue the cc interrupt to the cpu. this interrupt will be generated regardless of whether new data has been received or not. 17.2 command interpreter the command interpreter is implemented in software. it is used for data field selection, code interpretation and addressing of the display ram. it reads the ccdata1 and ccdata2 registers, checks for the correct parity, field and channel number. when the data received is the correct data, the bytes are passed on to the logic decoder software that interprets the data and addresses the display ram. the cc770 closed caption software supports the three main modes caption, text and xds. these operation modes can be selected by the user. for the first two modes, the data reception will be done in one of two operating channels c1 or c2 separately for field 1 or field 2 of the video frame. the xds mode is only available in field 2.
1999 jun 11 35 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family fig.12 data slicer block diagram. handbook, full pagewidth mgr278 level shift and adc sync separator data detector byte extractor cc interrupt ccdata1, ccdata2 bit clock recovery cvbs fig.13 line 21 cvbs transmission format. handbook, full pagewidth mgk588 50 25 0 20 - 40 - 20 ire units hsync program colour burst clock pulse in burst clock run-in (7 cycles) byte 1 byte 2 start bit d0 d6 d0 d6 p p odd/even field
1999 jun 11 36 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 17.3 closed caption registers 17.3.1 s lice l ine r egister (sl) the data slicer contains a software programmable slice line register to extract data from one scan-line out of a range of scan-lines 17 to 23. table 43 slice line register (sfr address b7h) table 44 description of sl bits 17.3.2 c losed c aption d ata r egister 1(ccd ata 1) there are two closed caption data registers: ccdata1 and ccdata2. at the beginning of the selected cvbs line these registers will be reset to 00h. the received data will be written into the register at the end of the selected cvbs line, then also the cc interrupt will be issued. if no data was received, the content of the registers will stay at 00h. table 45 closed caption data register 1 (sfr address d7h) table 46 description of the ccdata1 bits 17.3.3 c losed c aption d ata r egister 2 (ccd ata 2) table 47 closed caption data register 2 (sfr address e7h) table 48 description of ccdata2 bits 76543210 --- cs4 cs3 cs2 cs1 cs0 bit symbol description 7to5 - these 3 bits are not used. 4 to 0 cs4 to cs0 scan-line select. these 5 bits are used to select one scan line from scan-lines 17 to 23. for example, the value 10001 selects scan-line 17; the value 10111 selects scan-line 23. 76543210 d7 d6 d5 d4 d3 d2 d1 d0 bit symbol description 7 to 0 d7 to d0 byte 1 as sliced from the selected cvbs line. 76543210 d7 d6 d5 d4 d3 d2 d1 d0 bit symbol description 7 to 0 d7 to d0 byte 2 as sliced from the selected cvbs line.
1999 jun 11 37 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18 cc/osd display function p8xcx70 contains a display function which covers both osd and closed caption display requirements. the design is targeted for the us market. the rgb outputs are analog signals derived from a dac together with the fb (fast blanking) control signal. 18.1 key features fonts C 176 character fonts in masked rom, each font made up of a 12 16 rom matrix C each character displayed as 12 13 matrix C special graphic character fonts: maximum 16 characters; each uses masked rom contents of 2 normal characters; up to 4 different colours can appear in a character C character otp eprom: 33792 bits (176 12 16). display ram C display ram: 560 words of 12 bits/word C maximum displayed characters: 544. screen layout, primary background area: C vertical range: line 6 of field 1 (line 269 of field 2) to leading edge of vsync C horizontal range: 8 m s after trailing edge of hsync, 56 m s duration C defines an area with screen colour, large enough that no adjustment is needed. screen layout, cc/osd text area: C vertical offset: 0 to 63 scan-lines from trailing edge of vsync C horizontal offset: 0 to 63 characters from trailing edge of hsync plus 0 to 3 quarters character fine offset C maximum cc/osd rows: 16 (208 scan-lines) C maximum cc/osd columns: 48 (12 mhz osd clock). character and attribute coding, display control modes C attribute coding is done by combining with character coding in display ram C parallel mode: control display feature on a character by character basis, i.e. to a character only C serial mode: apply to a group of characters, valid to all characters displayed on the same display frame after set till modified. character and attribute coding, set at and set after C all serial mode 0 are set at, i.e., valid from the character set C serial mode 1 at first character position of each row are set at C serial mode 1 after first character position are set after, i.e. valid from the next character onward. colour look-up table (clut) C soft colours: 16 entries clut; each entry selected out of 4096 possible colours (4 bits each for r, g and b) C primary background screen colour: 16, selected from clut C foreground colours: 8 + 8, on a parallel (character-by-character) basis selected from clut C background colours: 16, on a serial (row-by-row) basis selected from clut. display character size C horizontal display size: 1 or 2 osd clock periods per dot, on a serial basis C vertical display size: 1 or 2 scan-lines per dot, on a serial basis. special attributes C flash, italic, underline, overline attributes via attribute coding on a serial basis, mode 0 set at C proportional spacing supported C fringing (shadowing): independent north, south, east and/or west fringing on a screen (applied to all characters displayed) basis via a control register C boxing attribute via attribute coding on a serial basis, both mode 0 and mode 1 possible C meshing attribute on a screen basis via control register; background colour areas are modified to display background colours and video alternately, provided in mixed video display mode C flashing (blinking) on a serial basis, mode 0 set at; flashing frequency: 50% duty, 1 or 2 hz, done via a control register.
1999 jun 11 38 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family automatic soft scroll C programmable soft scroll display area height up to 16 rows C programmable soft scroll display area top row C programmable row range for soft scroll C scroll map maintained in display ram; number of entries equals scroll display area height, up to 16 entries; display ram positions occupied not usable for coding display characters. miscellaneous C programmable hsync and vsync active polarity C programmable fbl (fast blanking) and r, g and b (during line fly-back periods) polarity C 16 level rgb brightness control C video, full text, mixed screen colour, mixed video display modes. 18.2 display features 18.2.1 f lash this attribute is valid from the time set until end of row or otherwise modified. flashing causes the foreground colour pixels to be displayed as background pixels. this means that the fringing, if set, will only be visible when the foreground colour pixels are displayed as foreground colour. the flash frequency can be set to either 1 or 2 hz (see section 18.4.5). 18.2.2 f ringing this attribute is valid from the time set until end of row or otherwise modified. fringing causes an edge (fringe) to be put around the foreground pixels. fringing is an attribute that can be applied to characters providing a shadow around the shape of the foreground information. the fringe is 1 line wide in the vertical direction and 1 pixel wide in the horizontal direction. fringing applies to all characters except those in columns 8 and 9. the size of the fringe is independent of the size attributes and always remains 1 scan-line vertically and 1 pixel horizontally for even and odd field. fringing is only effective within the text area and will not extend over the text area borders. fringing will cross the borders of boxes in the horizontal direction, but will not cross between rows in the vertical direction. special facilities are provided for combined characters (see section 18.10). 18.2.3 s ize two sizes are offered in both horizontal and vertical directions. the sizes available are normal, double height/width and any combinations of these. the attribute settings are always valid for a whole row. mixing of sizes within a row is not possible. the first character in the row must be the serial attribute, mode 1 if the default of normal size is to be overridden. these attributes will be ignored in any other position. for additional details see section 18.3.2. 18.2.4 i talics this attribute is valid from the time set until end of row or otherwise modified . this attribute causes the character foreground pixels to be offset horizontally by 1 pixel per 4 scan-lines (interlaced mode); see fig.14. the base is the bottom left character matrix pixel. the pattern of the character will be indented 1 pixel every 2 scan-lines per field, starting from the base of the character. fringing is shifted accordingly. 18.2.5 p roportional spacing the character font rom in column a, contains the half-width characters: f, i, j, l and t. these characters have a width of only 6 pixels instead of the normal 12. examples of half-width characters are shown in fig.15. if some of the characters are not used for depicting narrow characters they may be used as normal. in this case they are accessible via column d (see fig.27).
1999 jun 11 39 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family fig.14 italics. handbook, full pagewidth 0 0 1 3 5 7 8 9 10 field 1 indented by 6 indented by 5 indented by 4 indented by 3 indented by 2 indented by 1 not indented mgl146 field 2 11 12 2 2 4 4 6 6 810 0 2 4 6 810 fig.15 proportional spacing. handbook, full pagewidth mgl147
1999 jun 11 40 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.2.6 c olour l ook - up t able (clut) a colour look-up table with 16 colours is provided. the colours are programmable from a palette of 4096 (4 bits per r, g and b). the clut is defined by writing data to the ram as described in section 18.6. table 49 clut colour values 18.2.7 f ast b lanking polarity the polarity of the fast blanking signal (fbl) can be inverted. when inverted the values of the rgb outputs during line fly-back periods are also inverted. the polarity is set using the fbpol bit in the rgb brightness register (see section 18.9.8). table 50 rgb blanking interval values table 51 fast blanking signal polarity 18.2.8 rgb b rightness c ontrol a brightness control is provided that allows the rgb output voltages to be modified. the brightness is set using the bri0 to bri3 bits in the rgb brightness register (see section 18.9.8). table 52 rgb brightness selection red<3-0> green<3-0> blue<3-0> colour value 11109876543210 000000000000 lowest value 111111111111 highest value fbol red<3-0> green<3-0> blue<3-0> conditions 11109876543210 0 000000000000 normal operation 1 111111111111 inverted fast blanking signal fbpol fbl condition 0 1 rgb display 0 0 video display 1 0 rgb display 1 1 video display bri3 bri2 bri1 bri0 rgb brightness 0000 lowest value 1111 highest value
1999 jun 11 41 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.2.9 f oreground colour the foreground colour can be chosen from 8 colours on a character-by-character basis. two sets of 8 colours are provided. a serial attribute switches between the banks (see serial mode 1, bit 7). the colours are the clut entries 0 to 7 or 8 to 15. 18.2.10 b ackground colour this attribute is valid from the time set until end of row or otherwise modified if set with serial mode 0. if set with serial mode 1, then the colour is set from the next character onwards (see section 18.3.2). the background colour can be chosen from all 16 clut entries. 18.2.11 b oxes this attribute is valid from the time set until end of row or otherwise modified if set with serial mode 0. if set with serial mode 1, then it is set from the next character onwards (see section 18.3.2). in text mode the background colour is displayed regardless of the setting of the box attribute bit. boxes take affect only during mixed mode, where boxes are set in this mode the background colour is displayed. character locations where boxes are not set show video/screen colour (depending on the setting in the display control register) instead of the background colour. 18.2.12 m eshing meshing effects the background colour: in text mode all background colour will be meshed during mixed modes the background colour will only be displayed where boxes are active, therefore meshing will only be displayed inside these areas. the appearance of the background colour is modified by the meshing control bit (msh). if meshing is set then the background pixels, where displayed, are alternately displayed at pixel rate in the background colour and as video/screen colour, depending on which of the mixed modes is set. the structure is offset by 1 pixel from scan-line to scan-line, thus achieving a checker board display of the background colour. meshing is set in the display control register, see section 18.9.1. 18.2.13 b ackground duration the background duration attribute can be set with the serial mode 1 attribute, see section 18.3.2. in combination with the end of row attribute (see section 18.2.17), it forces the background colour to be displayed on the row until the end of the text area is reached. when set, this attribute takes effect from the current position until the end of the text display as defined in the text area end register (see section 18.9.5). 18.2.14 u nderline this attribute is valid from the time set until end of row or otherwise modified if set with serial mode 0. if set with serial mode 1, then it is set from the next character onwards (see section 18.3.2). the underline attribute causes the characters to have the bottom scan-line of the character cell forced to foreground colour, including spaces. if background duration is set, then underline is set until the end of the text area. 18.2.15 o verline this attribute is valid from the time set until end of row or otherwise modified if set with serial mode 0. if set with serial mode 1, then it is set from the next character onwards (see section 18.3.2). the overline attribute causes the characters to have the top scan-line of the character cell forced to foreground colour, including spaces. if background duration is set, then overline is set until the end of the text area. 18.2.16 s pecial graphic characters several special characters are provided for special effects. these characters provide a choice of 4 colours within a character cell. the number of characters is limited to 16. characters are stored in columns 8 and 9 of the rom table (32 rom characters). each character uses the rom contents of 2 normal characters. addressing is therefore done using only the even character addresses. the pixel planes are stored in adjacent character locations, always starting with an even character. the pixel plane 0 is stored in the even character and pixel plane 1 is stored in the odd character rom position there is no fringing possible for these characters.
1999 jun 11 42 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family if some of the characters are not used for depicting special characters they may be used as normal. in this case they are accessible via the columns b and c (see section 18.10). the four colours are allocated as shown in table 53. an example of a special character is shown in fig.16. if the screen colour is transparent (implicit in mixed mode) and inside the object the box attribute is set, then the object is surrounded by video. if the box attribute is not set the background colour inside the object will also be displayed as transparent. table 53 special character colours plane1 plane0 colour allocation 0 0 background colour 0 1 foreground colour 1 0 foreground colour 6 or 14 depending on the set bank 1 1 foreground colour 7 or 15 depending on the set bank 18.2.17 e nd of r ow the number of characters in a row is flexible and can be determined by the end of row bit in the serial mode 1 character attribute, however the maximum number of characters is determined by the setting of the text area start and the text area end register. the total number of characters displayed on a page is limited by the internal ram size. the characters are stored sequential in the memory. fig.16 special character example. handbook, full pagewidth mgk550 volume background colour "set at" (mode 0) background colour "set after" (mode 1) serial attribute foreground colour 7 background colour special character foreground colour normal character foreground colour 6
1999 jun 11 43 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.3 character and attribute coding character coding is split into character oriented attributes (parallel) and character group coding (serial). the serial attributes take effect at the set position and remain effective until either modified by new serial attributes or until the end of the row. a serial attribute is represented as a space (the space character itself however is not used for this purpose). the attributes are still active, e.g. overline and underline will be visible. the default settings at the start of a row are: foreground colour = 0, foreground colour switch = 0 (bank 0) background colour = 8 1x size flash off overline off underline off italics off display mode = superimpose fringing off background colour duration = 0 end of row = 0. the coding is done in 12-bit words. the codes are stored sequentially in the display memory. 18.3.1 p arallel character coding table 54 parallel character coding 18.3.2 s erial character coding table 55 serial character coding bits description 0 to 7 8-bit character code 8 to 10 3 bits for 8 foreground colours 11 mode bit: a logi c 0 = parallel code bits serial mode 0 (set at) serial mode 1 char. position = 1 (set at) char. position >1 (set after) 0 to 3 4 bits for 16 background colours 4 bits for 16 background colours 4 bits for 16 background colours 4 0 = underline off 1 = underline on horizontal size: 0 = normal; 1 = x2 0 = underline off 1 = underline on 5 0 = overline off 1 = overline on vertical size: 0 = normal; 1 = x2 0 = overline off 1 = overline on 6 display mode: 0 = superimpose; 1 = boxing display mode: 0 = superimpose; 1 = boxing display mode: 0 = superimpose; 1 = boxing 7 0 = flash off 1 = flash on foreground colour switch 0 = bank 0 (colours 0 to 7) 1 = bank 1 (colours 8 to 15) foreground colour switch 0 = bank 0 (colours 0 to 7) 1 = bank 1 (colours 8 to 15) 8 0 = italics off 1 = italics on background colour duration: 0 = stop bgc 1 = set bgc to end of row background colour duration (set at): 0 = stop bgc 1 = set bgc to end of row 9 0 = fringing off 1 = fringing on end of row 0 = continue row; 1 = end row end of row (set at): 0 = continue row; 1 = end row 10 switch for serial coding mode 0 and 1: 0 = mode 0 switch for serial coding mode 0 and 1: 1 = mode 1 switch for serial coding mode 0 and 1: 1 = mode 1 11 mode bit: 1 = serial code mode bit: 1 = serial code mode bit: 1 = serial code
1999 jun 11 44 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.4 screen controls a number of 8-bit registers are provided which are used to select various parameters for the whole screen. 18.4.1 d isplay modes when superimpose or boxing are set, the resulting display depends on the setting of the screen display mode bits. the mode is selected by the mod0 and mod1 bits of the display control register (see section 18.9.1). video mode: disables all display activities and sets the rgb to true black and fbl to video. full text mode: displays screen colour at all locations not covered by character foreground or background colour. the box attribute has no effect. mixed screen mode: displays screen colour at all locations not covered by character foreground or, within boxed areas, background colour. mixed video mode: displays video at all locations not covered by character foreground or within boxed areas, background colour. table 56 selection of screen display modes 18.4.2 f ringing controls 18.4.2.1 fringing direction fringing can be set to work in any direction (n, s, e and w). the direction is selected by setting one of the four frdx bits in the fringing control register (see section 18.9.4). where x = n, s, e or w and n = north, s = south etc. table 57 selection of fringing direction mod1 mod0 display mode 0 0 video mode 0 1 full text mode 1 0 mixed screen mode 1 1 mixed video mode frdx fringing direction 0off 1on 18.4.3 f ringing colour the colour of the fringe is set by the frc0 to frc3 bits in the fringing control register (see section 18.9.4). any one of 16 colours can be selected. table 58 fringing colour 18.4.4 s creen colour the screen colour can be any one of 16 colours.the colour is selected using the src0 to src3 bits in the display control register (see section 18.9.1).the screen colour covers the full video width, as described in section 18.7.1. it is visible when the text mode is set and no foreground or background pixels are being displayed (see section 18.4.1). table 59 selection of the screen colour 18.4.5 f lash frequency the flash frequency is set by the flf bit in the display control register; (see section 18.9.1). table 60 selection of the ?ash frequency frc<3-0> fringing colour 3210 0000 colour 0 1111 colour 15 src<3-0> screen colour 3210 0000 colour 0 1111 colour 15 flf flash frequency 0 approximately 1 hz with a 50% active ratio 1 approximately 2 hz with a 50% active ratio
1999 jun 11 45 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.5 text display controls these controls are used for defining the display areas. two types of areas are possible. one area is static and controlled via the main row counter, while the other is dynamic and can be soft scrolled. the areas cannot cross each other. only one soft scroll area is possible. a scroll map is provided which is addressed by the display row and contains the address of the data in the memory that is to be displayed. a bit is also provided to enable the text display, outside of the scroll area. outside the defined scroll area, the scroll map is addressed by the main row counter. within the visible soft scroll area, the scroll map is addressed by the scroll row counter. the text display enable bit within this area is ignored. the number of rows that can be scrolled through can be set by defining the start row (scroll map value) and end row. the defined number of rows should be at least one more than the visible scroll area height. the height of the visible area is defined as a number of rows. the position of the scroll area is defined as an offset in number of rows from the start of the text area. the values programmed into the registers must ensure a sensible display. the following should be noted: if values are programmed that cause the display to go beyond the vertical sync signal, the display will stop and react as if finished if the visible scroll area is made larger than the number of rows allocated to the scroll function, then they will wrap around and be repeated if the defined range of rows for scrolling is greater than the scroll area, these rows should not be used for other display purposes. 18.5.1 s oft scroll action the soft scrolling function is done by modifying the start count of the row scan-line count of the first scroll row. this is decremented once per frame automatically thus providing the effect of the top row disappearing while the bottom row is appearing. at the count 0, the scroll row counter is incremented automatically and the line-scan counter is set to 12 again. this pushes the top row to the bottom. this row must be cleared by the core during the fly-back period. if the number of rows allocated to the scroll counter is larger than the defined visible scroll area, this allows parts of rows at the top and bottom to be displayed during the scroll function. only screens which contain single height rows or only double height rows can be scrolled. 18.5.1.1 soft scroll enable the soft scroll function is started by writing a logic 1 to the scrl bit in the read only status register (see section 18.9.9). this bit will be cleared when the scrolling of one row is completed. a hard scrolling action can also be performed when writing a logic 0 to the scrl bit in the write only status register. if a logic 0 is written to this bit, the display in the scroll area is subsequently shifted up by one row. table 61 soft scroll enable 18.5.1.2 soft scroll area enable the scon bit in the status register controls whether a scroll area is active or not. the default value is no scroll area enabled, and the display is controlled only by the scroll map entries. when this bit is set to a logic 1 the scroll area is activated and the values contained in the ssacr, srrr and sta registers take effect. table 62 soft scroll area enable scrl soft scroll 0 activates hard scroll, shifts display in one row increment, stops soft scroll. 1 start scrolling function. scon soft scroll area 0 no scroll area enabled 1 scroll area enabled
1999 jun 11 46 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.5.1.3 top display row select the top display row of the scroll area is set using the ssp0 to ssp3 bits in the soft scroll area control register (see section 18.9.6). table 63 soft scroll area position value 18.5.1.4 visible scroll area height selection the visible scroll area height is set using the ssh0 to ssh3 bits in the soft scroll area control register (see section 18.9.6). table 64 soft scroll area height value ssp<3-0> display area position 3210 0000 row 0 1111 row15 ssh<3-0> display area height 3210 0000 1row 1111 16 rows 18.5.1.5 scroll rows range selection the scroll rows range is set in the scroll rows range register (see section 18.9.7). setting this register initialises the scroll row counter so that the first (top) row is the start scroll row number. by redefining the contents of this register a hard scrolling can also be achieved. if a new start scroll row number is loaded during a soft scroll action, then this value will be taken as the new start value after the scrolling action has been completed. table 65 start scroll row number table 66 stop scroll row number sts<3-0> start scroll row number 3210 0000 row0 1111 row15 sps<3-0> stop scroll row number 3210 0000 row0 1111 row15 fig.17 soft scroll area. handbook, full pagewidth 15 mgl148 14 13 12 11 10 9 8 7 6 5 scroll area position pointer (ssp3 to ssp0 e.g. 6) visible area height (ssh3 to ssh0 e.g. 4) 4 3 2 1 0 row usable for osd display usable for osd display should not be used for osd display should not be used for osd display soft scrolling area start row (str3 to str0 e.g. 3) stop row (spr3 to spr0 e.g. 11)
1999 jun 11 47 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.5.2 s croll map the scroll map allows a flexible allocation of data in the memory, to individual rows. sixteen 12-bit words are provided in the display memory for this purpose. the bit allocation is shown in table 67. the scroll map memory is located in the first 16 words in the display memory (data byte addresses 8000h to 801fh) as shown in fig.18. table 67 scroll map word format bit description 11 text display enable, valid outside soft scroll area. a logic 0 = disable; a logic 1 = enable. 10 reserved, should be set to a logic 0. 9 to 0 pointer to row data. fig.18 scroll map and data pointers. handbook, full pagewidth mgk549 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 row counter 0 to 15 valid 10 11 scroll counter 3 to 11 valid 3 4 9 10 11 row counter 0 to 15 valid 12 13 14 15 display possible un-usable for osd display soft scrolling display possible un-usable for osd display display possible available rows for scrolling scroll map entries display data display memory text area row enable bit = 0
1999 jun 11 48 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.6 memory mapping all registers and ram in the display section are mapped into the upper 32-kbyte external ram range of the 80c51 core. when writing to the display section, memory units (clut and the display ram) have wider formats than 8-bits. two bytes are written for each word, the first byte (even addresses), addresses the lower 8-bits; the lower nibble of the second byte (odd addresses), addresses the upper 4-bits. 18.6.1 a ccessing memory the memories can be accessed by the microprocessor as if it is external ram. fig.19 byte mapping. handbook, halfpage mgl149 70 processor byte n character data 70 3 11 0 processor byte n + 1 fig.20 memory and register mapping. handbook, halfpage registers (16 bytes) 87ffh 87f0h f 0 registers f 0 clut ram 22fh 000h mgl152 display data ram (1120 bytes) 871fh 8700h 845fh 8000h 801fh 8020h microcontroller address internal ram address clut (32 bytes) scroll map display data 2 bytes/ character
1999 jun 11 49 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.7 display positioning the positioning of the display is relative to the vertical and horizontal sync pulses. the display consists of the screen colour covering the whole screen and the text area that is placed within the visible screen area. the screen colour extends over a large vertical and horizontal range so that no offset is needed. the text area offset in both directions is relative to the vertical and horizontal sync pulses. fig.21 display area positioning. handbook, full pagewidth mgl150 56 m s text area start 0.25 character offset horizontal sync delay horizontal sync vertical sync 6 lines offset text vertical offset screen colour offset = 8 m s text area end screen colour area text area
1999 jun 11 50 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.7.1 s creen colour display area the screen colour display area starts with a fixed offset of 8 m s from the leading edge of the horizontal sync pulse in the horizontal direction. a vertical offset is not necessary. table 68 screen colour display area 18.7.2 t ext display area table 69 text display area the text area can be defined to start with an offset in both the horizontal and vertical direction. the horizontal offset is set in the text horizontal position register (see section 18.9.3). the offset is in full width characters (1 to 64 characters) and quarter characters for fine setting (0 to 3 quarters). the vertical offset is set in the text vertical position register (see section 18.9.2). the offset is done in number of lines (0 to 63). table 70 text area start offset note 1. the values 000000 to 000011 will result in a corrupted offset. position 525-line horizontal start at 8 m s after leading edge of hsync for 56 m s. vertical line 6, field 1 (269, field 2) to leading edge of vertical sync. position description horizontal up to 48 full sized characters per row. start position setting from 3 to 64 characters from the leading edge of hsync. fine adjustment in quarter characters. vertical 208 lines (nominal 38 to 245). start position setting from leading edge of vertical sync, legal values are 4 to 64 lines. tas<5-0> (1) text position horizontal text area start 543210 0 0 0 0 0 0 0 characters 1 1 1 1 1 1 63 characters table 71 text area ?ne offset table 72 text vertical position the width of the text area is defined by setting the end character value (1 to 64 characters). this number determines where the background colour will end if set to extend to the end of the row. it will also terminate the character fetch process thus eliminating the necessity of a row end attribute. this entails however writing to all positions. the text area end is set by the tae0 to tae5 bits in the text area end register (see section 18.9.5). the width is the difference between the horizontal offset and the end value and is always as a number of full width characters (0 to 48 valid range). the quarter character offset in the text horizontal position register is also valid for the end position. table 73 text area end hop1 hop0 text position horizontal fine offset 0 0 0 quarters 0 1 1 quarter 1 0 2 quarters 1 1 3 quarters vol<5-0> text area vertical line offset 543210 0 0 0 0 0 0 0 lines 1 1 1 1 1 1 63 lines tae<5-0> text area end full characters 543210 0 0 0 0 0 0 1 character 1 1 1 1 1 1 64 characters
1999 jun 11 51 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.8 general controls 18.8.1 p olarity of hsync and vsync input signals the horizontal and vertical input sync signals can be inverted by setting the hpol and vpol bits in the text vertical position register (see section 18.9.2). table 74 sync signal polarity 18.8.2 f rame reset generation normally, vsync of the first field occurs during the first half line period and vsync of the second field occurs during the second half period of a scan-line. in this case it is very easy to generate a frame reset signal. the vsync pulse is generated by sampling and rising edge detection. hpol vpol sync signal polarity 0 0 input polarity 1 1 input inverted polarity these vsync pulses are gated (and gate) with a line frequency signal which has a duty cycle of 50 : 50 (h50). the output signal is the frame reset pulse. the rising edge of the h50 signal is generated from the hsync pulse. the falling edge is generated via a comparison between the fixed value of half of the nominal number of 768 pixels per line (comparator value: 384 pixels) and the value of a pixel counter. if the vsync of one field occurs shortly after the falling edge of h50 and the line period has more than the nominal number of 768 pixels per line, it is possible that both vsync pulses occur during the low period of h50. the result is that no frame reset pulse is generated. in the case of a vsync pulse occurring shortly after the rising edge of h50 and less than the nominal number of 768 pixels per line it is possible that every vsync pulse will generate a frame reset pulse. to prevent this happening the position of h50 is adjustable in increments of 12 clock cycles. the adjustment value is selected using the odd/even align register. fig.22 frame reset timing. handbook, full pagewidth mgl151 hsync frame reset field 1 h50 vsync_in vsync (sampled) hsync frame reset field 2 h50 vsync_in vsync (sampled)
1999 jun 11 52 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.9 register descriptions all registers are read/writeable. when the registers are read a value will be returned that will correspond to the written data. there is one exception; when the status register is read, status information will be returned. 18.9.1 d isplay c ontrol r egister (dcr) table 75 display control register (address 87f0h) table 76 description of dcr bits 18.9.2 t ext v ertical p osition r egister (tvpr) table 77 text vertical position register (address 87f1h) table 78 description of tvpr bits 7654321b0 src3 src2 src1 src0 flf msh mod1 mod0 bit symbol description 7 scr3 screen colour. these 4 bits select the screen colour; one of 16 colours may be selected; see table 59. 6 scr2 5 scr1 4 scr0 3 flf flash frequency. the state of this bit determines the ?ash frequency of the screen. a frequency of 1 or 2 hz can be selected; see table 60. 2 msh meshing. if msh = 1, meshing is selected. see section 18.2.12. 1 mod1 display modes. these 2 bits select one of the four display modes: video mode, full text mode, mixed screen mode and mixed video mode; see table 56. 0 mod0 76543 10 vpol hpol vol5 vol4 vol3 vol2 vol1 vol0 bit symbol description 7 vpol vertical sync polarity. the state of this bit determines whether the vertical sync input is inverted or not; see table 74. 6 hpol horizontal sync polarity. the state of this bit determines whether the horizontal sync input is inverted or not; see table 74. 5 vol5 vertical offset. these 6 bits select the number of lines that the text area is offset vertically; see table 72. 4 vol4 3 vol3 2 vol2 1 vol1 0 vol0
1999 jun 11 53 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.9.3 t ext h orizontal p osition r egister (thpr) table 79 text horizontal position register (address 87f2h) table 80 description of thpr bits 18.9.4 f ringing c ontrol r egister (fcr) table 81 fringing control register (address 87f3h) table 82 description of fcr bits 7654321 0 hop1 hop0 tas5 tas4 tas3 tas2 tas1 tas0 bit symbol description 7 hop1 fine horizontal offset. these 2 bits select a ?ne offset, ranging from 0 to 3 quarter characters; see table 71. 6 hop0 5 tas5 text area start. these 6 bits select an offset of 0 to 63 full-width characters; see table 70. 4 tas4 3 tas3 2 tas2 1 tas1 0 tas0 76543210 frc3 frc2 frc1 frc0 frdn frde frds frdw bit symbol description 7 frc3 fringing colour. these 4 bits select the fringing colour. one of 16 colours can be speci?ed; see table 58. 6 frc2 5 frc1 4 frc0 3 frdn fringing directions. the fringing direction is selected by setting one of these bits to a logic 1. for example, when frdn = 1, the fringing direction is north. see table 57. 2 frde 1 frds 0 frdw
1999 jun 11 54 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.9.5 t ext a rea e nd r egister (taer) table 83 text area end register (address 87f4h) table 84 description of taer bits 18.9.6 s oft s croll a rea c ontrol r egister (ssacr) table 85 soft scroll area control register (address 87f5h) table 86 description of ssacr bits 76543210 -- tae5 tae4 tae3 tae2 tae1 tae0 bit symbol description 7 - these 2 bits are reserved. 6 - 5 tae5 text area end. these 6 bits assist in de?ning the width of the text area. the actual text area width is the difference between the horizontal offset and the value speci?ed by these 6 bits; see table 73. 4 tae4 3 tae3 2 tae2 1 tae1 0 tae0 7654 210 ssh3 ssh2 ssh1 ssh0 ssp3 ssp2 ssp1 ssp0 bit symbol description 7 ssh3 soft scroll area height. these 4 bits determine the visible scroll area height. one of 16 rows may be speci?ed; see table 64. 6 ssh2 5 ssh1 4 ssh0 3 ssp3 soft scroll area position. these 4 bits specify the top display row of the soft scroll area. one of 16 rows may be speci?ed; see table 63. 2 ssp2 1 ssp1 0 ssp0
1999 jun 11 55 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.9.7 s croll r ows r ange r egister (srrr) table 87 scroll rows range register (address 87f6h) table 88 description of srrr bits 18.9.8 rgb b rightness r egister (br) table 89 rgb brightness register (address 87f7h) table 90 description of br bits 76543210 sps3 sps2 sps1 sps0 sts3 sts2 sts1 sts0 bit symbol description 7 sps3 stop scroll row. these 4 bits select the row number at which scrolling will stop. one of 16 rows can be speci?ed; see table 66. 6 sps2 5 sps1 4 sps0 3 sts3 start scroll row. these 4 bits select the row number at which scrolling will begin. one of 16 rows can be speci?ed; see table 65. 2 sts2 1 sts1 0 sts0 76543210 fbpol --- bri3 bri2 bri1 bri0 bit symbol description 7 fbpol fast blanking polarity. the state of this bit determines whether the polarity of the fast blanking signal (fbl) is inverted or not; see table 51. 6 - these 3 bits are reserved. 5 - 4 - 3 bri3 brightness value. these 4 bits select the brightness value of the rgb output voltages. one of 16 brightness values can be selected; see table 52. 2 bri2 1 bri1 0 bri0
1999 jun 11 56 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.9.9 s tatus r egister (sr) a status register is provided that holds information that the processor can use to regulate the way data is written into the display unit. the register is split into a read only and write only register. both use the same address. table 91 status register (address 87f8h); read only table 92 description of sr bits 76543210 busy - field scrl scr3 scr2 scr1 scr0 bit symbol description 7 busy character display active or vertical sync. if busy = 0, this indicates that the processor can access the display unit without causing effects on the screen. the lead time is 4 ms, this is implemented to allow the microcontroller to ?nish the current access to the display memory. two modes are provided to switch between the text horizontal blank area or vertical blank area. 6 - random information. 5 field 1st or 2nd field of vertical frame. 4 scrl scroll busy. if scrl = 1, this bit indicates that the scroll function is in progress. when this bit is set, the automatic scroll function is started. it is automatically cleared on completion. if forced to a logic 0, the scroll function will be terminated as if all lines were scrolled. subsequent logic 0 writes will cause the scroll row to increment by one. 3 scr3 first scroll row select. the value speci?ed by these 4 bits selects the actual row that is the ?rst one to be displayed in the scroll area. this value is modi?ed by the automatic scroll function. 2 scr2 1 scr1 0 scr0
1999 jun 11 57 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family table 93 status register (address 87f8h); write only table 94 description of sr bits 18.9.10 hsync d elay r egister (hsdr) table 95 hsync delay register (address 87fch) table 96 description of hsdr bits 76543210 - h/v scon scrl ---- bit symbol description 7 - this bit is not used and causes no action. 6 h/v busy signal switch horizontal/vertical. if h/v = 0, horizontal blank area selected. if h/v = 1, vertical blank area selected. 5 scon scroll area enabled. if scon = 1, then the scroll area is enabled. see section 18.5.1.2. 4 scrl start scroll. if scrl = 1, this bit indicates that the scroll function is in progress. when this bit is set, the automatic scroll function is started. it is automatically cleared on completion. if forced to a logic 0, the scroll function will be terminated as if all lines were scrolled. subsequent logic 0 writes will cause the scroll row to increment by one. 3 - these 4 bits are not used and cause no action. 2 - 1 - 0 - 76543210 - hsd6 hsd5 hsd4 hsd3 hsd2 hsd1 hsd0 bit symbol description 7 - reserved 6 hsd6 hsync delay. these 7 bits allow the position of the hsync pulse to be changed in increments of full width characters. a delay of 0 to 63 full width characters can be selected. 5 hsd5 4 hsd4 3 hsd3 2 hsd2 1 hsd1 0 hsd0
1999 jun 11 58 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.9.11 o dd /e ven a lign r egister (oear) table 97 odd/even align register (87fdh) table 98 description of oear bits 76543210 - oea6 oea5 oea4 oea3 oea2 oea1 oea0 bit symbol description 7 - reserved 6 oea6 h50 delay. these 7 bits allow the position of the h50 pulse to be changed in increments of 12 clock pulses. 5 oea5 4 oea4 3 oea3 2 oea2 1 oea1 0 oea0
1999 jun 11 59 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.9.12 c onfiguration r egister (confr) the configuration register is provided for special purposes and to program the delay between the rgb and fbl output. table 99 con?guration register (address 87ffh) table 100 description of confr bits table 101 fbl delay adjustment 76543210 cc plus adj min ---- bit symbol description 7cc closed caption mode. the state of this bit selects the osd mode or the cc mode. if cc = 0, then the osd mode is selected; this is also the default setting. if cc = 1, then the cc mode is selected. in the cc mode the underline is suppressed during the display of a serial attribute. the display is then according to the cc speci?cation. 6 plus fbl delay select. these 3 bits de?ne the timing of the fbl signal; see table 101. 5 adj 4 min 3 - reserved, set to logic 0. 2 - these 3 bits are used for test purposes only and should be set to logic 0s for normal operation. 1 - 0 - plus adj min fbl timing 0 0 0 fbl switched to video, not active. 0 0 1 fbl active one pixel early to rgb. 0 1 0 fbl synchronous with rgb (typical setting). 1 0 0 fbl active one pixel delayed to rgb. xxx all other combinations are allowed and will have the effect that the above settings are functionally ored, e.g. 111 will result in a 3 pixel wide fbl pulse when one single pixel is displayed.
1999 jun 11 60 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.10 character font format the character font is a 12 (horizontal) x 13 (vertical) matrix. the rom contents have two extra lines in each field to facilitate the fringing function when groups of characters are used to build symbols. a table with 128 characters, two columns of special characters (32) and a column for proportional spaced characters (16) is shown in fig.27. the rom size is 176 characters x 12 16 = 33792 bits (4224 bytes, 2816 x 12-bit words). 18.10.1 c haracter rom format the character addressing scheme is dependent on what type of character is accessed. therefore, the rom format for the different columns changes respectively. the rom format is 16 locations in words of 12 bits, where the msb (bit 11) of the rom word is the left most pixel of a character displayed. the lines 0 and 14 are used for fringing of clustered characters (single images using more than one character) over row boundaries. lines 1 to 13 contain the font of the character and line 15 is not used. the proportional spaced characters use only bits 11 to 6 for display. bits 5 to 0 are defined by repeating the information held in bits 11 to 6 shifted up one line. the rom definition for these characters is shown in fig.24. proportional characters can be displayed in column a only. the rom format for the special characters uses two subsequent character rom locations. the character definition will always start with an even character. this location holds the information for bit plane 0 the next location (odd) contains the bit plane 1. no shadowing is supported when using these characters. the bit combinations of plane 0 and plane 1 define which colour is displayed for a certain pixel. a detailed description on how these characters are displayed is found in section 18.2.16. the rom format for each plane is defined as stated for the normal characters, except that the data on the fringing lines is ignored. fig.23 character rom format columns 0 to 7. handbook, halfpage line 13 from character above line 0 from character below top left pixel msb lsb mgl153 hex 440 003 00c 030 0c0 300 c00 c00 300 0c0 030 00c 003 000 198 000 line number 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 fringing top line bottom right pixel bottom line fringing line not used fig.24 proportional character rom format column a. handbook, halfpage 0 (lsb) 5 6 11 (msb) mgl154 hex value 000 fringe (1) fringe (3) fringe (2) not used not used 000 00c 300 00c 30c 30c 30c 30c 30c 306 180 000 000 000 000 line number 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (1) line 13 from character above. (2) line repeated from line 14 (bits 11 to 6). (3) line 1 from character below.
1999 jun 11 61 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 18.10.2 rom addressing figures 25 and 26 illustrate the addressing schemes used to access the different character formats. figure 25 shows the rom organization of the normal and proportional spaced characters and fig.26 shows the rom organization of the special characters. the address calculation in on the basis of word access. if the cpu accesses the rom, a two byte access must be performed to capture the data, the data format is according to the definition in fig.19. fig.25 character rom organisation. handbook, halfpage character x word address = c000h word address = (x 16) + c000h word address = [(x + 1) 16] + c000h x = 0, 1, 2, 3,.... 12 bits mgl155 character x + 1 fig.26 character rom organization for columns 8 and 9. handbook, halfpage character x plane 0 word address = c000h word address = (x 16) + c000h word address = [(x + 1) 16] + c000h x = 0, 2, 4,.... 12 bits mgl156 character x plane 1 fig.27 character table. handbook, full pagewidth mgr275 0 0 12345678 (b)9 (c)a (d) sp 0 @ p ?p ? ! 1aq aq 1/2 " 2br br # 3cs cs $ 4 d t dt ? 5e ueu 1 2 3 4 5 6 7 8 9 a b c d e f ? 6f vfv 7g w g w ?( 8h xhx _ ) 9i yiy ?? : j zjz ? +; k [k? ? , < l ?l ? -= m ]m? ? . > n ?? / ?o?on character code columns (bits 4 to 7) character code rows (bits 0 to 3)
1999 jun 11 62 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 19 memory data bit allocation table 102 register map bit allocation table 103 memory data/bit allocation 19.1 interfaces 19.1.1 rgb and b lanking o utput the rgb outputs are analog signals derived from a dac. the output impedance depends on the switched value, but is low enough to drive the colour decoder. the polarity and the delay between rgb outputs and the blanking output is programmable. the default setting is active high (rgb on). addr. register name 76543210 87f0h display control src3 src2 src1 src0 flf msh mod1 mod0 87f1h text vertical position vpol hpol vol5 vol4 vol3 vol2 vol1 vol0 87f2h text horizontal position hop1 hop0 tas5 tas4 tas3 tas2 tas1 tas0 87f3h fringing control frc3 frc2 frc1 frc0 frdn frde frds frdw 87f4h text area end -- tae5 tae4 tae3 tae2 tae1 tae0 87f5h scroll area ssh3 ssh2 ssh1 ssh0 ssp3 ssp2 ssp1 ssp0 87f6h scroll range sps3 sps2 sps1 sps0 sts3 sts2 sts1 sts0 87f7h rgb brightness fbpol --- bri3 bri2 bri1 bri0 87f8h status (read) busy - field scrl scr3 scr2 scr1 scr0 87f8h status (write) - h/v scon scrl ---- 87fch hsync delay - hsd6 hsd5 hsd4 hsd3 hsd2 hsd1 hsd0 87fdh odd/even align - oea6 oea5 oea4 oea3 oea2 oea1 oea0 87feh reserved -------- 87ffh con?guration register cc plus adj min ---- odd byte bits 3 to 0 even byte bits 7 to 0 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 valid for byte address 8000h to 801fh in display memory: scroll map en. - ptr9 ptr8 ptr7 ptr6 ptr5 ptr4 ptr3 ptr2 ptr1 ptr0 valid for byte address 8020h to 8460h in display memory: display page, ?rst column position 1 = ser. 1 = at eof bgc for3 box vert. sync hor.sync back3 back2 back1 back0 valid for byte address 8020h to 8460h in display memory: display page, all columns 0 = par. for3 for2 for1 chr7 chr6 chr5 chr4 chr3 chr2 chr1 chr0 1 = ser. 0 = at fringing italic ?ash box overline underline back3 back2 back1 back0 valid for byte address 8020h to 8460h in display memory: display page, all columns except ?rst position 1 = ser. 1 = after eof bgc for3 box overline underline back3 back2 back1 back0 valid for byte address 8700h to 871fh: clut red3 red2 red1 red0 green3 green2 green1 green0 blue3 blue2 blue1 blue0
1999 jun 11 63 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 20 programmer the p87cx70 otp contains two eprom modules, one 64-kbyte system eprom and one 8-kbyte character eprom. users can program or verify both system and character eprom with a pc using intel hex format. 20.1 eprom interface port 0 and port 2 are used as the 16-bit address bus; port 0 for the higher address byte and port 2 for the lower address byte. port 3 is used as an 8-bit bidirectional data bus during programming and verify operations. for control signals, ale/ prog is used as the write strobe ( we) and p1.0 is used as the output enable ( oe). pin 28 is the programming voltage (v pp ) input and requires 12.75 v during the programming mode and 5 v during the verification mode. the required input on the reset, psen and p1.0 to p1.4 pins is dependent upon the mode selected. signal states for the three modes are specified in table 104 and the timing characteristics of these signals are detailed in section 20.5. 20.2 otp application mode the otp application mode consists of two major sub-modes: programming mode and verify mode. the pin assignment during otp programming and verification operations is specified in table 105. 20.2.1 p rogramming mode the programming mode performs three operations: main 64-kbyte otp, extra row programming and select two bytes programming. the main 64-kbyte otp operation is the core function of programming. the customer can program the software using an eprom writer. extra row programming is similar to test rom in mask rom and can be used to store production ids, testing patterns etc. the select two bytes programming operation is used to speed up the programming of the checker board. the programming configuration is shown in fig.28. 20.2.2 v erify mode the verify mode performs two operations: program verify and extra row read. the program verify operation checks that the value programmed is correct. the extra row read mode is similar to the program verify mode and ensures that the extra row programming is correct. the program verification configuration is shown in fig.29. 20.3 programming format for character eprom the character eprom programming data format contains 12-bit osd data for each character row; 4 bits from osdh and 8 bits from osdl. the encoding sequence is shown in fig.30. the address range of the 8-kbyte character eprom is from c000h to dfffh. 20.4 programming format for system eprom the system eprom format is the same as for normal eprom and is programmed sequentially using intel hex format. the address range of the 64-kbyte system eprom is from 0000h to ffffh. table 104 otp function table operation mode reset psen ale/ we ea/v pp p1.3 p1.2 p1.1 p1.0/ oe programming 1 0 low pulse v pp 111 h program verify 1 0 h v dd 1 1 1 low pulse 2-byte programming 1 0 low pulse v pp 001 h
1999 jun 11 64 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family table 105 pin assignment during programming and veri?cation operations symbol pin system eprom osd eprom p0.0 1 a8 a8 p0.1 2 a9 a9 p0.2 3 a10 a10 p0.3 4 a11 a11 p0.4 5 a12 a12 p0.5 6 a13 (low) p0.6 7 a14 (high) p0.7 8 a15 (high) p1.0 9 oe oe p1.1 10 otp sel0 otp sel0 p1.2 11 otp sel1 otp sel1 p1.3 12 otp sel2 otp sel2 p1.4 30 (low) (high) p2.0 21 a0 a0 p2.1 20 a1 a1 p2.2 19 a2 a2 p2.3 18 a3 a3 p2.4 17 a4 a4 p2.5 16 a5 a5 p2.6 15 a6 a6 p2.7 14 a7 a7 p3.0 45 d0 d0 p3.1 46 d1 d1 p3.2 47 d2 d2 p3.3 48 d3 d3 p3.4 49 d4 d4 p3.5 50 d5 d5 p3.6 51 d6 d6 p3.7 52 d7 d7 ale/ prog 29 we we v pp / ea 28 v pp v pp rst 43 (high) (high) psen 27 (low) (low)
1999 jun 11 65 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family fig.28 programming configuration. handbook, full pagewidth mgr376 P87C770 (otp) p2.7 to p2.0 p0.7 to p0.0 1 a7 to a0 l-pulse 1 1 1 1 1/0 p3.7 to p3.0 p1.4 p1.2 p1.1 p1.0 p1.3 d7 to d0 0 12.75 v a15 to a8 5 v reset v ss v dd v pp /ea psen ale/prog fig.29 program verification configuration. handbook, full pagewidth mgr377 P87C770 (otp) p2.7 to p2.0 p0.7 to p0.0 1 a7 to a0 1 1 1 0 1 1 1/0 p3.7 to p3.0 p1.4 p1.2 p1.1 p1.0 p1.3 d7 to d0 0 5 v a15 to a8 5 v reset v ss v dd v pp /ea psen ale/prog
1999 jun 11 66 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family fig.30 data format of character eprom. handbook, full pagewidth mgr375 osdl (hex) osdl <7 to 0> osdh <3 to 0> 11 0 3 7 13 15 87 10 osdh (hex) 00 - 00 03 - 00 83 - 01 c3 - 00 60 - 00 07 - 00 08 - 00 e8 - 07 08 - 00 07 - 00 60 - 00 c3 - 00 83 - 01 03 - 00 00 - 00 00 - 00 00 00 03 00 83 01 c3 00 60 00 07 00 08 00 e8 07 08 00 07 00 60 00 c3 00 83 01 03 00 00 00 00 00 :10 c000 00 :10 c010 00 :10 cfff 00
1999 jun 11 67 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 20.5 eprom timing characteristics table 106 eprom programming timing symbol parameter min. typ. max. unit t su(a) address set-up time 2 --m s t h(a) address hold time 20 -- ns t su(oe) output enable set-up time 2 --m s t su(ce) chip enable set-up time 2 --m s t w(p) program pulse width (typically 5 programming pulses) 95 100 105 m s t su(pv) program voltage set-up time 2 --m s t h(we) write enable hold time 110 -- ns t su(d) data set-up time 2 --m s t h(d) data hold time 20 -- ns t w(oe) output enable pulse width 300 -- ns t acc(oe) output enable access verify 92 122 183 ns t oz output to high-impedance verify 10 -- ns fig.31 eprom programming timing diagram. handbook, full pagewidth mgr374 t oz t acc(oe) t h(d) t h(a) t h(we) t su(d) t su(ce) 5 v programming verify we (ale/prog) v pp /ea 12.75 v address (ports 0 and 2) ce (internal signal) oe (p10) data i/o (port 3) t w(p) t su(a) t su(pv) data in for eprom address data out from eprom t su(oe) t w(oe)
1999 jun 11 68 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family fig.32 programming pinning configuration. handbook, halfpage p8xc770 mgr373 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 a8 a9 a10 a11 a12 a13 a14 a15 p1.0/aft0 p1.1/aft1 p1.2/aft2 p1.3/pwm0 v ssd a7 a6 a5 a4 a3 a2 a1 a0 v ssa cvbs stn blk iref d7 d6 d5 d4 d3 d2 d1 d0 v ddc reset xi xo v ssd v ddp v dda vsync hsync fb r g b refh p1.4 ale/prog v pp /ea psen
1999 jun 11 69 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family table 107 programming con?guration pin descriptions symbol pin i/o description p0.0 to p0.7 1 to 8 i/o address lines a8 to a15 p1.0/aft0 9 i/o port line p1.0; alternative function as 4-bit aft0 input p1.1/aft1 10 i/o port line p1.1; alternative function as 4-bit aft1 input p1.2/aft2 11 i/o port line p1.2; alternative function as 4-bit aft2 input p1.3/pwm0 12 i/o port line p1.3 (open-drain, bidirectional); alternative function as 7-bit pwm output v ssd 13 - digital ground p2.7 to p2.0 14 to 21 i/o address lines a7 to a0 v ssa 22 - analog ground cvbs 23 i composite video input stn 24 i data slicer decoupling capacitor input, connect to v ssa via a 100 nf capacitor. blk 25 i cvbs signal black level reference, connect to v ssa via a 100 nf capacitor. iref 26 i cvbs signal reference current input, connect to v ssa via a 27 k w resistor. psen 27 o program store enable (active low) is bonded out for testing purpose only. v pp / ea 28 i external access (active low) is bonded out for testing purpose only; this pin is also used for the 12.75 v programming voltage supply in program/font otp programming modes. ale/ prog 29 i/o address latch enable is bonded out for testing purposes only; this pin is also used for programming pulses input in program/font otp programming modes. p1.4 30 i/o port line p1.4 (open-drain, bidirectional) refh 31 i data slicer reference high capacitor input, connect to v ssa via a 100 nf capacitor. b 32 o cc/osd blue colour current output g 33 o cc/osd green colour current output r 34 o cc/osd red colour current output fb 35 o cc/osd fast blanking output hsync 36 i tv horizontal sync input (for osd synchronization) vsync 37 i tv vertical sync input (for osd synchronization) v dda 38 - 5 v analog power supply v ddp 39 - 5 v digital power supply v ssd 40 i digital ground xo 41 o system oscillator crystal output xi 42 i system oscillator crystal input reset 43 i reset input (active high) v ddc 44 - 5 v digital power supply p3.0 to p3.7 45 to 52 i/o data i/o lines, d0 to d7
1999 jun 11 70 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 21 limiting values 22 dc characteristics v dd = 4.5 to 5.5 v; v ss =0v; t amb = - 20 to +70 c. all voltages with respect to v ss , unless otherwise speci?ed. symbol parameter conditions min. max. unit v dd supply voltage - 0.5 +7.0 v v i input voltage on any pin with respect to ground (v ss ) - 0.5 v dd + 0.5 v p tot total power dissipation - 700 mw t stg storage temperature - 55 +125 c t amb operation ambient temperature - 20 +70 c v esd electrostatic protection hbm leakage < 1 m a - 2000 +2000 v electrostatic protection mm leakage < 1 m a - 250 +250 v symbol parameter conditions min. typ. max. unit supply v ddc digital core supply voltage 4.5 5.0 5.5 v i ddc digital supply current - 47 - ma v ddp peripheral supply voltage 4.5 5.0 5.5 v i ddp peripheral supply current - 20 - ma v dda analog supply voltage 4.5 5.0 5.5 v i dda analog supply current - 9 - ma ports 1, 2 and 3 inputs v il low-level input voltage 0 - 0.3v dd v v ih high-level input voltage 0.7v dd - v dd v i li input leakage current v ss 1999 jun 11 71 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family aft inputs: p1.0/aft0, p1.1/aft1 and p1.2/aft2 v ai comparator analog input voltage v ss - v dd v v ae conversion error range p83c770 - 0.5 - +0.5 lsb P87C770 - 0.7 - +0.7 lsb r, g and b outputs (4-bit dac current source) i oh high-level output source current - 8.9 - ma inl integral non-linearity - 1 2 0+ 1 2 lsb dnl differential non-linearity - 1 2 0+ 1 2 lsb matching rgb - 1 2 - + 1 2 lsb fb output i ol low-level output source current p83c770; v o = 0.4 v - 7 - ma P87C770; v o = 0.4 v - 14 - ma i oh high-level output source current v o =v dd - 0.4 v - 5 - ma reset v il low-level input voltage 0 - 0.3v dd v v ih high-level input voltage 0.7v dd - v dd v r rst internal reset pull-down resistor 50 - 200 k w hsync and vsync inputs v il low-level input voltage - 0.3 - 0.8 v v ih high-level input voltage 3.15 - v dd + 0.5 v i li input leakage current v i =0tov dd -- 10 m a c in input capacitance -- 5pf cvbs input v sync sync amplitude 0.1 0.3 0.6 v v l(vid) video input amplitude (peak-to-peak value) 0.7 1.0 1.4 v v ldat caption data amplitude 0.25 0.35 0.49 v z source source impedance 250 w v in input switching level of sync separator 1.8 2.15 2.5 v z i input impedance 2.5 5 - k w c i input capacitance -- 10 pf iref input r iref external resistor to ground - 27 - k w v iref voltage on pin - 0.5v dd - v power-on reset v t trigger level 3.6 3.9 4.2 v symbol parameter conditions min. typ. max. unit
1999 jun 11 72 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family fig.33 aft conversion error range. handbook, full pagewidth mgr276 1 3/16 5/16 1/16 0 2 3 4 5 v dd (volts) 7/16 9/16 11/16 13/16 15/16 14/16 16/16 actual ideal conversion error range < 0.5 lsb conversion error range < 0.7 lsb fraction of v dd fig.34 adc error. handbook, full pagewidth mgr277 0.1 3/16 5/16 1/16 0 0.3 0.7 0.5 adc error (lsb) 7/16 9/16 11/16 13/16 15/16 14/16 16/16 fraction of v dd
1999 jun 11 73 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 23 ac characteristics v dd = 4.5 to 5.5 v; v ss = 0 v; t amb = - 20 to +70 c. all voltages with respect to v ss , unless otherwise specified. note 1. susceptibility for environment noise @ 1 v pp cvbs, 25 c;12 mhz. symbol parameter conditions min. typ. max. unit ports 0, 1 and 3 outputs (open-drain) t f(o) output fall time c l = 35 pf; (slope control implemented) 30 -- ns ale, psen and ea outputs (slope control implemented) t r(o) output rise time c l =40pf --- ns t f(o) output fall time c l =40pf 30 -- ns xi and xo f xtal crystal frequency - 12 - mhz aft inputs: p1.0/aft0, p1.1/aft1 and p1.2/aft2 t aft(con) conversion time f xtal = 12 mhz - 8 -m s fb output t r(fb) fb rise time c l =35pf - 4 - ns t f(fb) fb fall time - 4 - ns cvbs closed caption behaviour white noise (rms value) -- 60 mv co-channel interface (peak-to-peak value) -- 100 mv pp eye height -- 55 % power-on reset t r por response time at power-on v dd : 0 ? 5v 5 --m s voltage spike v dd : 5 v ? v t 5 --m s t w por pulse width at power-on v dd : 0 ? 5v 10 --m s voltage spike v dd : 5 v ? v t 10 --m s
1999 jun 11 74 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 24 application information fig.35 application diagram. handbook, full pagewidth 10 k w 27 k w 10 k w 10 k w 100 nf 100 nf 100 nf 22 pf 12 mhz 22 pf 47 m f 2.2 m h p8xc770 mgr919 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 cvbs signal 24 25 26 5 v 5 v 5 v 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 p0.0/pwm8 p0.1/pwm7 p0.2/pwm6 p0.3/pwm5 p0.4/pwm4 p0.5/pwm3 p0.6/pwm2 p0.7/pwm1 p1.0/aft0 p1.1/aft1 p1.2/aft2 p1.3/pwm0 v ssd p2.7 p2.6 p2.5 p2.4 p2.3 p2.2 p2.1 p2.0 v ssa cvbs stn blk iref p3.7 p3.6 p3.5/sda p3.4/scl p3.3/t1 p3.2/int0 p3.1/t0 p3.0/int1 v ddc reset xi xo v ssd v ddp v dda vsync hsync fb r g b refh gnd a 100 nf gnd a gnd d gnd d gnd a gnd a gnd a gnd d p1.4 ale/prog v pp /ea psen 100 nf gnd a
1999 jun 11 75 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 25 release letter of errata 25.1 bugs with a software workaround the soft scroll active bit and the top scroll row are not synchronized. therefore, it is not possible to calculate from this bit and the top scroll row the current base row (the row which is displayed as the lowest one or which scrolls in). the top scroll row number is incremented immediately after the soft scroll function is finished but the soft scroll active bit remains set. the soft scroll active bit is cleared one field/frame later. a software workaround is implemented. if the soft scroll function is to be stopped (write 0 20 to osd status register) the soft scroll should stop immediately, but it stops at the end of the field/frame. after stopping the soft scroll function the soft scroll active bit should be cleared and the top scroll row number (lower 4 bit of the osd status register) should be incremented by one. but sometimes the top scroll row number is incremented by two. also in the stopped soft scroll the display sometimes jumps out of the defined scroll range. for example, the range is defined from row 0 to 5 and row 8 to 14 is displayed. a correction is possible after the next frame, which results in the stopped soft scroll (0.2 after soft scroll has been started a stop soft scroll is sent) to sometimes generate a display flicker. read/write problem with access to display memory by the cpu. the error rate is 1/84000 (synchronized clock). the error is synchronous to the hsync with approximately 11 m s delay after hsync. the automatically incremented dptr didnt work correctly. a move command to the display memory (movx @dptr,a) or (movx a, @dptr) sometimes delivers a wrong result (e.g. an a should be written/read but a b is stored/read in/from the memory). a software workaround has been designed. 25.2 bugs with no workaround the foreground colour of the first character behind a double size/width attribute is ignored. during a double height row, if shadow is active, a north shadow appears above the last line of the row whether the underline is active or not. 25.3 speci?cation problems (unspeci?ed) soft scroll function cannot be stopped immediately (behaviour is not specified in the specification). if the decoder wants to terminate the soft scroll function, the soft scroll function stops one field/frame later. a restart is not possible before the scrolling has stopped. therefore, a restart of the soft scroll function must be delayed by one field/frame. a software workaround is implemented. according to the cc specification the time between stop and start should be no more than 0.433 seconds. with the method as implemented the start command will be issued after 0.46 seconds. the osd does not allow the active edges of hsync and vsync to come at exactly the same moment soft scroll does not work, if a double height row is the top row of the scroll area. the specification has been changed to the soft scroll function with double height rows is forbidden.
1999 jun 11 76 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 26 package outline unit b 1 cee m h l references outline version european projection issue date iec jedec eiaj mm dimensions (mm are the original dimensions) sot247-1 90-01-22 95-03-11 b max. w m e e 1 1.3 0.8 0.53 0.40 0.32 0.23 47.9 47.1 14.0 13.7 3.2 2.8 0.18 1.778 15.24 15.80 15.24 17.15 15.90 1.73 5.08 0.51 4.0 m h c (e ) 1 m e a l seating plane a 1 w m b 1 d a 2 z 52 1 27 26 b e pin 1 index 0 5 10 mm scale note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. (1) (1) d (1) z e a max. 12 a min. a max. sdip52: plastic shrink dual in-line package; 52 leads (600 mil) sot247-1
1999 jun 11 77 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 27 soldering 27.1 introduction to soldering through-hole mount packages this text gives a brief insight to wave, dip and manual soldering. a more in-depth account of soldering ics can be found in our data handbook ic26; integrated circuit packages (document order number 9398 652 90011). wave soldering is the preferred method for mounting of through-hole mount ic packages on a printed-circuit board. 27.2 soldering by dipping or by solder wave the maximum permissible temperature of the solder is 260 c; solder at this temperature must not be in contact with the joints for more than 5 seconds. the total contact time of successive solder waves must not exceed 5 seconds. the device may be mounted up to the seating plane, but the temperature of the plastic body must not exceed the specified maximum storage temperature (t stg(max) ). if the printed-circuit board has been pre-heated, forced cooling may be necessary immediately after soldering to keep the temperature within the permissible limit. 27.3 manual soldering apply the soldering iron (24 v or less) to the lead(s) of the package, either below the seating plane or not more than 2 mm above it. if the temperature of the soldering iron bit is less than 300 c it may remain in contact for up to 10 seconds. if the bit temperature is between 300 and 400 c, contact may be up to 5 seconds. 27.4 suitability of through-hole mount ic packages for dipping and wave soldering methods note 1. for sdip packages, the longitudinal axis must be parallel to the transport direction of the printed-circuit board. package soldering method dipping wave dbs, dip, hdip, sdip, sil suitable suitable (1)
1999 jun 11 78 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family 28 definitions 29 life support applications these products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. philips customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify philips for any damages resulting from such improper use or sale. 30 purchase of philips i 2 c components data sheet status objective speci?cation this data sheet contains target or goal speci?cations for product development. preliminary speci?cation this data sheet contains preliminary data; supplementary data may be published later. product speci?cation this data sheet contains ?nal product speci?cations. limiting values limiting values given are in accordance with the absolute maximum rating system (iec 134). stress above one or more of the limiting values may cause permanent damage to the device. these are stress ratings only and operation of the device at these or at any other conditions above those given in the characteristics sections of the speci?cation is not implied. exposure to limiting values for extended periods may affect device reliability. application information where application information is given, it is advisory and does not form part of the speci?cation. purchase of philips i 2 c components conveys a license under the philips i 2 c patent to use the components in the i 2 c system provided the system conforms to the i 2 c specification defined by philips. this specification can be ordered using the code 9398 393 40011.
1999 jun 11 79 philips semiconductors product speci?cation microcontrollers for ntsc tvs with on-screen display (osd) and closed caption (cc) p8xcx70 family notes
? philips electronics n.v. sca all rights are reserved. reproduction in whole or in part is prohibited without the prior written consent of the copyright owne r. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reli able and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not con vey nor imply any license under patent- or other industrial or intellectual property rights. internet: http://www.semiconductors.philips.com 1999 65 philips semiconductors C a worldwide company netherlands: postbus 90050, 5600 pb eindhoven, bldg. vb, tel. +31 40 27 82785, fax. +31 40 27 88399 new zealand: 2 wagener place, c.p.o. box 1041, auckland, tel. +64 9 849 4160, fax. +64 9 849 7811 norway: box 1, manglerud 0612, oslo, tel. +47 22 74 8000, fax. +47 22 74 8341 pakistan: see singapore philippines: philips semiconductors philippines inc., 106 valero st. salcedo village, p.o. box 2108 mcc, makati, metro manila, tel. +63 2 816 6380, fax. +63 2 817 3474 poland: ul. lukiska 10, pl 04-123 warszawa, tel. +48 22 612 2831, fax. +48 22 612 2327 portugal: see spain romania: see italy russia: philips russia, ul. usatcheva 35a, 119048 moscow, tel. +7 095 755 6918, fax. +7 095 755 6919 singapore: lorong 1, toa payoh, singapore 319762, tel. +65 350 2538, fax. +65 251 6500 slovakia: see austria slovenia: see italy south africa: s.a. philips pty ltd., 195-215 main road martindale, 2092 johannesburg, p.o. box 58088 newville 2114, tel. +27 11 471 5401, fax. +27 11 471 5398 south america: al. vicente pinzon, 173, 6th floor, 04547-130 s?o paulo, sp, brazil, tel. +55 11 821 2333, fax. +55 11 821 2382 spain: balmes 22, 08007 barcelona, tel. +34 93 301 6312, fax. +34 93 301 4107 sweden: kottbygatan 7, akalla, s-16485 stockholm, tel. +46 8 5985 2000, fax. +46 8 5985 2745 switzerland: allmendstrasse 140, ch-8027 zrich, tel. +41 1 488 2741 fax. +41 1 488 3263 taiwan: philips semiconductors, 6f, no. 96, chien kuo n. rd., sec. 1, taipei, taiwan tel. +886 2 2134 2886, fax. +886 2 2134 2874 thailand: philips electronics (thailand) ltd., 209/2 sanpavuth-bangna road prakanong, bangkok 10260, tel. +66 2 745 4090, fax. +66 2 398 0793 turkey: yukari dudullu, org. san. blg., 2.cad. nr. 28 81260 umraniye, istanbul, tel. +90 216 522 1500, fax. +90 216 522 1813 ukraine : philips ukraine, 4 patrice lumumba str., building b, floor 7, 252042 kiev, tel. +380 44 264 2776, fax. +380 44 268 0461 united kingdom: philips semiconductors ltd., 276 bath road, hayes, middlesex ub3 5bx, tel. +44 181 730 5000, fax. +44 181 754 8421 united states: 811 east arques avenue, sunnyvale, ca 94088-3409, tel. +1 800 234 7381, fax. +1 800 943 0087 uruguay: see south america vietnam: see singapore yugoslavia: philips, trg n. pasica 5/v, 11000 beograd, tel. +381 11 62 5344, fax.+381 11 63 5777 for all other countries apply to: philips semiconductors, international marketing & sales communications, building be-p, p.o. box 218, 5600 md eindhoven, the netherlands, fax. +31 40 27 24825 argentina: see south america australia: 34 waterloo road, north ryde, nsw 2113, tel. +61 2 9805 4455, fax. +61 2 9805 4466 austria: computerstr. 6, a-1101 wien, p.o. box 213, tel. +43 1 60 101 1248, fax. +43 1 60 101 1210 belarus: hotel minsk business center, bld. 3, r. 1211, volodarski str. 6, 220050 minsk, tel. +375 172 20 0733, fax. +375 172 20 0773 belgium: see the netherlands brazil: see south america bulgaria: philips bulgaria ltd., energoproject, 15th floor, 51 james bourchier blvd., 1407 sofia, tel. +359 2 68 9211, fax. +359 2 68 9102 canada: philips semiconductors/components, tel. +1 800 234 7381, fax. +1 800 943 0087 china/hong kong: 501 hong kong industrial technology centre, 72 tat chee avenue, kowloon tong, hong kong, tel. +852 2319 7888, fax. +852 2319 7700 colombia: see south america czech republic: see austria denmark: sydhavnsgade 23, 1780 copenhagen v, tel. +45 33 29 3333, fax. +45 33 29 3905 finland: sinikalliontie 3, fin-02630 espoo, tel. +358 9 615 800, fax. +358 9 6158 0920 france: 51 rue carnot, bp317, 92156 suresnes cedex, tel. +33 1 4099 6161, fax. +33 1 4099 6427 germany: hammerbrookstra?e 69, d-20097 hamburg, tel. +49 40 2353 60, fax. +49 40 2353 6300 hungary: see austria india: philips india ltd, band box building, 2nd floor, 254-d, dr. annie besant road, worli, mumbai 400 025, tel. +91 22 493 8541, fax. +91 22 493 0966 indonesia: pt philips development corporation, semiconductors division, gedung philips, jl. buncit raya kav.99-100, jakarta 12510, tel. +62 21 794 0040 ext. 2501, fax. +62 21 794 0080 ireland: newstead, clonskeagh, dublin 14, tel. +353 1 7640 000, fax. +353 1 7640 200 israel: rapac electronics, 7 kehilat saloniki st, po box 18053, tel aviv 61180, tel. +972 3 645 0444, fax. +972 3 649 1007 italy: philips semiconductors, piazza iv novembre 3, 20124 milano, tel. +39 02 67 52 2531, fax. +39 02 67 52 2557 japan: philips bldg 13-37, kohnan 2-chome, minato-ku, tokyo 108-8507, tel. +81 3 3740 5130, fax. +81 3 3740 5057 korea: philips house, 260-199 itaewon-dong, yongsan-ku, seoul, tel. +82 2 709 1412, fax. +82 2 709 1415 malaysia: no. 76 jalan universiti, 46200 petaling jaya, selangor, tel. +60 3 750 5214, fax. +60 3 757 4880 mexico: 5900 gateway east, suite 200, el paso, texas 79905, tel. +9-5 800 234 7381, fax +9-5 800 943 0087 middle east: see italy printed in the netherlands 275002/02/pp80 date of release: 1999 jun 11 document order number: 9397 750 06084


▲Up To Search▲   

 
Price & Availability of P87C770

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X